[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230302090143.46678-1-bw365.lee@samsung.com>
Date: Thu, 2 Mar 2023 18:01:39 +0900
From: Bumwoo Lee <bw365.lee@...sung.com>
To: MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
linux-kernel@...r.kernel.org
Cc: Bumwoo Lee <bw365.lee@...sung.com>
Subject: [PATCH v4 0/4] Simplify extcon_dev_register function.
It was modified to increase readability.
Chages from v3:
removed possibility of kfree(NULL).
Chages from v2:
resolved possible memory leak of dev->cables.
Changes from v1:
added return value handling.
Bumwoo Lee (4):
extcon: Removed 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 | 293 +++++++++++++++++++++++-----------------
1 file changed, 166 insertions(+), 127 deletions(-)
--
2.35.1
Powered by blists - more mailing lists