Re: [PATCH 4/4] rtc: sc27xx: remove .remove

2019-10-21 Thread Baolin Wang
On Mon, 21 Oct 2019 at 23:58, Alexandre Belloni wrote: > > dpm_sysfs_remove() and device_pm_remove() are already called by > device_del() on device removal so there is no need to call > device_init_wakeup(dev, false) from the driver and it allows to remove the > .remove callback. Right, feel

[PATCH 4/4] rtc: sc27xx: remove .remove

2019-10-21 Thread Alexandre Belloni
dpm_sysfs_remove() and device_pm_remove() are already called by device_del() on device removal so there is no need to call device_init_wakeup(dev, false) from the driver and it allows to remove the .remove callback. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-sc27xx.c | 7 --- 1