commit | b0a82efa51ad3ba1117817817cbabe9c9a37b893 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Feb 16 17:50:47 2021 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Fri Feb 19 22:15:50 2021 +0100 |
tree | d1e4166163add9567794c5fbcd8f20e4e26ccf5c | |
parent | fb0f236beccbf74da90429d417864cfc6fc6673a [diff] |
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>