aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-04extcon: fix possible name leak in extcon_dev_register()Yaxiong Tian1-2/+1
2023-05-29extcon: Drop unneeded assignmentsAndy Shevchenko1-3/+3
2023-05-29extcon: Use sizeof(*pointer) instead of sizeof(type)Andy Shevchenko1-8/+5
2023-05-29extcon: Use unique number for the extcon device IDAndy Shevchenko1-3/+13
2023-05-29extcon: Remove dup device name in the message and unneeded error checkAndy Shevchenko1-3/+2
2023-05-29extcon: Use dev_of_node(dev) instead of dev->of_nodeAndy Shevchenko1-8/+4
2023-05-29extcon: Use device_match_of_node() helperAndy Shevchenko1-1/+1
2023-05-29extcon: Use sysfs_emit() to instead of sprintf()Andy Shevchenko1-9/+9
2023-05-29extcon: Use DECLARE_BITMAP() to declare bit arraysAndy Shevchenko1-4/+4
2023-05-29extcon: Fix kernel doc of property capability fields to avoid warningsAndy Shevchenko1-0/+4
2023-05-29extcon: Fix kernel doc of property fields to avoid warningsAndy Shevchenko1-0/+4
2023-05-29extcon: Add extcon_alloc_groups to simplify extcon register functionBumwoo Lee1-22/+39
2023-05-29extcon: Add extcon_alloc_muex to simplify extcon register functionBumwoo Lee1-48/+61
2023-05-29extcon: Add extcon_alloc_cables to simplify extcon register functionBumwoo Lee1-46/+65
2023-05-29extcon: Remove redundant null checking for classBumwoo Lee1-11/+10
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman1-1/+1
2022-07-15extcon: Add EXTCON_DISP_CVBS and EXTCON_DISP_EDPMichael Wu1-0/+10
2022-07-15extcon: Drop unexpected word "the" in the commentsJiang Jian1-1/+1
2022-05-13extcon: Modify extcon device to be created after driver data is setbumwoo lee1-12/+17
2022-05-13extcon: Fix some kernel-doc commentsYang Li1-0/+4
2022-05-13extcon: Fix extcon_get_extcon_dev() error handlingDan Carpenter1-1/+3
2021-12-24extcon: Deduplicate code in extcon_set_state_sync()Alexander Stein1-13/+1
2021-03-15extcon: Fix error handling in extcon_dev_registerDinghao Liu1-0/+1
2020-05-29extcon: remove redundant assignment to variable idxColin Ian King1-1/+1
2020-03-25extcon: Mark extcon_get_edev_name() function as exported symbolMayank Rana1-0/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner1-9/+1
2018-08-28extcon: Switch to use kasprintf() instead of open codedAndy Shevchenko1-10/+3
2018-08-28extcon: Make static analyzer happy about union assignmentAndy Shevchenko1-1/+1
2018-07-12extcon: Release locking when sending the notification of connector stateChanwoo Choi1-1/+2
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-10/+14
2018-03-08extcon: add possibility to get extcon device by OF nodeAndrzej Hajda1-10/+34
2017-10-23extcon: make extcon_info static const, fixes warningColin Ian King1-1/+1
2017-08-16extcon: Correct description to improve the readabilityChanwoo Choi1-140/+134
2017-08-16extcon: Remove unused CABLE_NAME_MAX definitionChanwoo Choi1-1/+0
2017-07-19extcon: Convert to using %pOF instead of full_nameRob Herring1-2/+2
2017-05-23extcon: Fix a typo in three comment linesMarkus Elfring1-3/+3
2017-05-23extcon: Use devm_kcalloc() in extcon_dev_register()Markus Elfring1-3/+2
2017-04-06extcon: Use BIT() macro for the left-shift operationChanwoo Choi1-1/+1
2017-04-06extcon: Remove porting compatibility of swich classChanwoo Choi1-20/+0
2017-04-04extcon: Add new extcon_register_notifier_all() to monitor all external connec...Chanwoo Choi1-0/+66
2017-01-09extcon: Modify the name of EXTCON_USB_HOST connectorChanwoo Choi1-1/+1
2017-01-09extcon: Add new EXTCON_CHG_USB_PD type for USB Power DeliveryChanwoo Choi1-0/+5
2017-01-09extcon: Move defintion of struct extcon_dev to driver/extcon directoryChanwoo Choi1-1/+2
2017-01-09extcon: Remove potential problem when calling extcon_register_notifier()Chanwoo Choi1-26/+7
2017-01-09extcon: Return error code on failurePan Bian1-1/+1
2016-08-08extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer deviceChanwoo Choi1-0/+5
2016-08-08extcon: Add new EXTCON_DISP_HMD for Head-mounted Display deviceChanwoo Choi1-0/+5
2016-08-08extcon: Add EXTCON_DISP_DP and the property for USB Type-CChris Zhong1-0/+5
2016-08-08extcon: Add the synchronization extcon APIs to support the notificationChanwoo Choi1-75/+135
2016-08-08extcon: Rename the extcon_set/get_state() to maintain the function naming pat...Chanwoo Choi1-15/+13
2016-08-08extcon: Add the support for the capability of each propertyChanwoo Choi1-0/+140
2016-08-08extcon: Add the support for extcon property according to extcon typeChanwoo Choi1-1/+200
2016-08-08extcon: Add the extcon_type to gather each connector into five categoryChanwoo Choi1-29/+130
2016-08-08extcon: Fix compile time warningManinder Singh1-1/+1
2016-08-08extcon: Block the bit masking operation for cable state except for extcon coreChanwoo Choi1-19/+1
2016-08-08extcon: Remove the state_store() to prevent the wrong accessChanwoo Choi1-20/+1
2016-08-08extcon: Move extcon_get_edev_by_phandle() errors to dbg levelStephen Boyd1-2/+2
2016-07-02extcon: add missing of_node_put after calling of_parse_phandlePeter Chen1-0/+2
2016-06-27extcon: Split out the resource-managed functions from extcon coreChanwoo Choi1-117/+0
2016-06-27extcon: Move struct extcon_cable from header file to coreChanwoo Choi1-0/+20
2016-06-23extcon: Check for incorrect connection type in notifier registerStephen Boyd1-0/+4
2016-06-10extcon: Remove the deprecated extcon functionsChanwoo Choi1-177/+24
2015-10-16extcon: Modify the id and name of external connectorChanwoo Choi1-29/+32
2015-09-21extcon: Fix attached value returned by is_extcon_changedHans de Goede1-1/+1
2015-08-10extcon: Fix signedness bugs about break error handlingDan Carpenter1-4/+4
2015-08-10extcon: Add exception handling to prevent the NULL pointer accessChanwoo Choi1-1/+31
2015-08-10extcon: Remove optional print_state() function pointer of struct extcon_devChanwoo Choi1-8/+0
2015-07-31extcon: Fix extcon_cable_get_state() from getting old state after notificationRoger Quadros1-5/+10
2015-07-31extcon: Fix hang and extcon_get/set_cable_state().Roger Quadros1-12/+34
2015-06-12extcon: Redefine the unique id of supported external connectors without 'enum...Chanwoo Choi1-12/+12
2015-05-29extcon: Remove optional print_name() function pointer of extcon_devChanwoo Choi1-8/+0
2015-05-22extcon: Update the prototype of extcon_register_notifier() with enum extconChanwoo Choi1-43/+48
2015-05-22extcon: Use capital letter for the name of external connectorsChanwoo Choi1-14/+23
2015-05-22extcon: Use the unique id for external connector instead of stringChanwoo Choi1-72/+91
2015-05-19extcon: Fix the checkpatch warning and minor coding style issueChanwoo Choi1-5/+5
2015-05-19extcon: Add extcon_get_edev_name() API to get the extcon device nameChanwoo Choi1-0/+9
2015-05-19extcon: Modify the device name as extcon[X] for sysfsChanwoo Choi1-3/+5
2015-03-23extcon: Fix missing locking when [un]registering notifiersHans de Goede1-4/+31
2015-03-07extcon: Fix the checkpatch warningChanwoo Choi1-0/+1
2015-03-07extcon: Rename extcon core driverChanwoo Choi1-0/+1038