RE: [PATCH v4 1/4] extcon: Removed redundant null checking for class

From: MyungJoo Ham
Date: Wed Mar 08 2023 - 01:55:43 EST


> create_extcon_class() is already Null checking.
>
> Signed-off-by: Bumwoo Lee <bw365.lee@xxxxxxxxxxx>
> ---
> drivers/extcon/extcon.c | 21 ++++++++++-----------
> 1 file changed, 10 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c
> index e1c71359b605..adcf01132f70 100644
> --- a/drivers/extcon/extcon.c
> +++ b/drivers/extcon/extcon.c
> @@ -1012,12 +1012,13 @@ ATTRIBUTE_GROUPS(extcon);
>

Acked-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>

Chanwoo, please take a look at this series.