leds: max77650: Remove set but not used variable 'parent'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 May 2019 14:19:41 +0000 (22:19 +0800)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Sun, 26 May 2019 17:00:14 +0000 (19:00 +0200)
commit1916ebfdfbacd3fa9a6fce72032cf612375c1183
treebadb2b0443cd402bd5d7898eda9e8d6098af4f00
parent433068aa88cc1046db0adf0d158d98f59d846bbc
leds: max77650: Remove set but not used variable 'parent'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/leds/leds-max77650.c: In function max77650_led_probe:
drivers/leds/leds-max77650.c:67:17: warning: variable parent set but not used [-Wunused-but-set-variable]

It is never used and can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-max77650.c