Re: [PATCH] powerpc/ep8248e: Mark driver as non removable

2023-08-10 Thread Michael Ellerman
On Wed, 26 Jul 2023 10:14:42 +0200, Uwe Kleine-König wrote: > Instead of resorting to BUG() ensure that the driver isn't unbound by > suppressing its bind and unbind sysfs attributes. As the driver is > built-in there is no way to remove a device once bound. > > As a nice side effect this allows

[PATCH] powerpc/ep8248e: Mark driver as non removable

2023-07-26 Thread Uwe Kleine-König
Instead of resorting to BUG() ensure that the driver isn't unbound by suppressing its bind and unbind sysfs attributes. As the driver is built-in there is no way to remove a device once bound. As a nice side effect this allows to drop the remove function. Signed-off-by: Uwe Kleine-König ---