Re: [PATCH] platform/chrome: cros_ec_typec: add remove driver hook

From: Tzung-Bi Shih
Date: Fri Aug 09 2024 - 08:59:36 EST


On Fri, Jul 26, 2024 at 03:12:35PM -0300, Thadeu Lima de Souza Cascardo wrote:
> This allows the driver to be unbound and bound again. Otherwise, when
> unbinding the driver, there will be leftover sysfs entries.
>
> When rebinding the driver, it also ends up touching freed memory when
> adding to the notifier chain as the old one was not removed and ends up
> being traversed.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

Thanks!

[1/1] platform/chrome: cros_ec_typec: add remove driver hook
commit: a1927fbbf74f9f61eb5c6d1414037c97a8d942ab