extcon: Remove redundant null checking for class
authorBumwoo Lee <bw365.lee@samsung.com>
Thu, 2 Mar 2023 09:01:40 +0000 (18:01 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 May 2023 14:31:24 +0000 (23:31 +0900)
commit7f4c9bc29ba72c5e3d0f9eaa91cabac9cd3342c9
tree03020f1c9fb20e4322a045d37b602a5010abe10f
parentc95fb88fb6e4bd92720a183014d9160e627e4c4b
extcon: Remove redundant null checking for class

create_extcon_class() is already Null checking.

Signed-off-by: Bumwoo Lee <bw365.lee@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c