extcon: Add extcon_alloc_groups to simplify extcon register function
authorBumwoo Lee <bw365.lee@samsung.com>
Mon, 20 Mar 2023 03:19:39 +0000 (12:19 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 29 May 2023 14:31:25 +0000 (23:31 +0900)
commit04151575c507e7ea3aa6dee73ff9970d699641d3
tree01a0042cbbf8ce97810e380d2cbad6c0efdf2a50
parent3e70a014abcdf7e795ee7f446dde4160dfe354a4
extcon: Add extcon_alloc_groups to simplify extcon register function

The alloc groups is functionalized from extcon_dev_register.

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