Re: [PATCH v2 1/2] i2c: dev: fix notifier return values
From: Wolfram Sang
Date: Tue Jan 17 2023 - 05:04:41 EST
On Thu, Dec 29, 2022 at 05:00:44PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> We have a set of return values that notifier callbacks can return. They
> should not return 0, error codes or anything other than those predefined
> values. Make the i2c character device's callback return NOTIFY_DONE or
> NOTIFY_OK depending on the situation.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
Applied to for-next, thanks!
I start reviewing patch 2 now...
Attachment:
signature.asc
Description: PGP signature