diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-09-13 17:49:05 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-11-15 23:01:51 +0300 |
commit | 5dc8356830428656c3a00dd702fb9102fe43550f (patch) | |
tree | de9a2f9c9930b6183aebbf30f85149c60336a91c /drivers/rtc/rtc-s3c.c | |
parent | f27efee663701f0e93351cf052677214fed40a42 (diff) | |
download | linux-5dc8356830428656c3a00dd702fb9102fe43550f.tar.xz |
rtc: ds1302: remove unnecessary spi_set_drvdata()
Remove unnecessary spi_set_drvdata() in ds1302_remove(), the driver_data
will be set to NULL in device_unbind_cleanup() after calling ->remove().
After this, ds1302_remove() is an empty function, so remove it too.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220913144905.2004924-1-yangyingliang@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-s3c.c')
0 files changed, 0 insertions, 0 deletions