[PATCH 0/4] simplify extcon_dev_register function.

From: Bumwoo Lee
Date: Fri Feb 17 2023 - 03:47:44 EST


It was modified to increase readability.

Bumwoo Lee (4):
extcon: remove redundant null checking for class
extcon: added extcon_alloc_cables to simplify extcon register function
extcon: added extcon_alloc_muex to simplify extcon register function
extcon: added extcon_alloc_groups to simplify extcon register function

drivers/extcon/extcon.c | 286 ++++++++++++++++++++++------------------
1 file changed, 160 insertions(+), 126 deletions(-)

--
2.35.1