commit | 5d2bfb3fb95b2d448c0fbcaa2c58b215b2fa87fc | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Feb 16 17:50:48 2021 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Fri Feb 19 22:15:43 2021 +0100 |
tree | eb528810b3a897d49650e02fad308a5f4315beae | |
parent | 556f15fe023ec1d9f9cd2781ba6cd14bda650d22 [diff] |
leds: lp50xx: Get rid of redundant check in lp50xx_enable_disable() Since GPIO is optional the API is NULL aware and will check descriptor anyway. Remove duplicate redundant check in lp50xx_enable_disable(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>