Skip to content
Commit dc87fad6 authored by Javier Carrasco's avatar Javier Carrasco Committed by Alexandre Belloni
Browse files

rtc: pcf8523: remove unnecessary OR operation



The value variable is initialized to 0 and it is not used to set any
other bits rather than the one that defines the capacitor value. Setting
this capacitor value is the only purpose of the function where the
variable is defined and therefore the OR operation does not apply as a
way to foresee functionality extensions either.

Signed-off-by: default avatarJavier Carrasco <javier.carrasco@wolfvision.net>
Link: https://lore.kernel.org/r/20230315082021.2104452-3-javier.carrasco@wolfvision.net


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent b48cc753
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment