summaryrefslogtreecommitdiff
path: root/drivers/mfd/mxs-lradc.c
diff options
context:
space:
mode:
authoryu kuai <yukuai3@huawei.com>2020-01-20 19:51:43 +0800
committerThierry Reding <thierry.reding@gmail.com>2020-01-20 15:40:49 +0100
commit9871abffc81048e20f02e15d6aa4558a44ad53ea (patch)
tree91788d3bbf5823872ca3294a52cb1108e9e79984 /drivers/mfd/mxs-lradc.c
parent413c2a110d649a3a313ee91920e3d9373b9f2045 (diff)
pwm: Remove set but not set variable 'pwm'
Fixes gcc '-Wunused-but-set-variable' warning: drivers/pwm/pwm-pca9685.c: In function ‘pca9685_pwm_gpio_free’: drivers/pwm/pwm-pca9685.c:162:21: warning: variable ‘pwm’ set but not used [-Wunused-but-set-variable] It is never used, and so can be removed. In that case, hold and release the lock 'pca->lock' can be removed since nothing will be done between them. Fixes: e926b12c611c ("pwm: Clear chip_data in pwm_put()") Signed-off-by: yu kuai <yukuai3@huawei.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/mfd/mxs-lradc.c')
0 files changed, 0 insertions, 0 deletions