Messages in this thread | | | Date | Thu, 26 Jan 2023 12:11:50 +0100 | Subject | Re: [PATCH] clocksource/drivers/sh_cmt: Mark driver as non-removable | From | Daniel Lezcano <> |
| |
On 23/01/2023 23:02, Uwe Kleine-König wrote: > The comment in the remove callback suggests that the driver is not > supposed to be unbound. However returning an error code in the remove > callback doesn't accomplish that. Instead set the suppress_bind_attrs > property (which makes it impossible to unbind the driver via sysfs). > The only remaining way to unbind a sh_cmt device would be module > unloading, but that doesn't apply here, as the driver cannot be built as > a module. > > Also drop the useless remove callback. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> > ---
Applied, thanks
-- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
| |