summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-02-16 17:50:47 +0200
committerPavel Machek <pavel@ucw.cz>2021-02-19 22:15:50 +0100
commitb0a82efa51ad3ba1117817817cbabe9c9a37b893 (patch)
treed1e4166163add9567794c5fbcd8f20e4e26ccf5c /Documentation/devicetree/bindings/leds
parentfb0f236beccbf74da90429d417864cfc6fc6673a (diff)
downloadlinux-b0a82efa51ad3ba1117817817cbabe9c9a37b893.tar.bz2
leds: lp50xx: Get rid of redundant explicit casting
In the line like u32 bar = ...; u8 foo = (u8)(bar >> 8) & 0xff; is no need to have neither explicit casting nor ' & 0xff' part. Get rid of them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
0 files changed, 0 insertions, 0 deletions