rtc: pcap: Drop no-op remove function
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 2 Oct 2023 08:05:24 +0000 (10:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 13 Oct 2023 10:29:08 +0000 (12:29 +0200)
commit94a2da3e6b681a970b248927bfb5d7d519bd3924
tree8d67c37e87d74081f962267acb181e2c7c660e56
parent141626dbc2e69150fbd5bf241eba85790d7e95ab
rtc: pcap: Drop no-op remove function

A remove callback that just returns 0 is equivalent to no callback at
all as can be seen in platform_remove(). So simplify accordingly.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231002080529.2535610-8-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcap.c