[PATCH] powerpc/52xx: Mark gpt driver as not removable

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Jul 15 07:37:20 AEST 2022


hello,

On Sun, Jun 12, 2022 at 11:34:00PM +0200, Uwe Kleine-König wrote:
> Returning an error code (here -EBUSY) from a remove callback doesn't
> prevent the driver from being unloaded. The only effect is that an error
> message is emitted and the driver is removed anyhow.
> 
> So instead drop the remove function (which is equivalent to returning zero)
> and set the suppress_bind_attrs property to make it impossible to unload
> the driver via sysfs.
> 
> This is a preparation for making platform remove callbacks return void.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

This patch recived a (positive) review, but it's not included in next
nor got it any maintainer feedback. Did it fell through the cracks?

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20220714/eb6fb5db/attachment.sig>


More information about the Linuxppc-dev mailing list