mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
extcon: Remove optional print_name() function pointer of extcon_dev
This patch removes the optional print_name() function pointer included in 'struct extcon_dev' because the extcon must maintain the consistent name of extcon device on sysfs instead of inconsistent name. After merged patch[1], extcon can maintain the consistent name of extcon device without any hard-coded device name. [1] https://lkml.org/lkml/2015/4/27/258 Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
This commit is contained in:
parent
046050f6e6
commit
f8df880811
2 changed files with 0 additions and 11 deletions
|
@ -83,8 +83,6 @@ struct extcon_cable;
|
|||
* be attached simulataneously. {0x7, 0} is equivalent to
|
||||
* {0x3, 0x6, 0x5, 0}. If it is {0xFFFFFFFF, 0}, there
|
||||
* can be no simultaneous connections.
|
||||
* @print_name: An optional callback to override the method to print the
|
||||
* name of the extcon device.
|
||||
* @print_state: An optional callback to override the method to print the
|
||||
* status of the extcon device.
|
||||
* @dev: Device of this extcon.
|
||||
|
@ -111,7 +109,6 @@ struct extcon_dev {
|
|||
const u32 *mutually_exclusive;
|
||||
|
||||
/* Optional callbacks to override class functions */
|
||||
ssize_t (*print_name)(struct extcon_dev *edev, char *buf);
|
||||
ssize_t (*print_state)(struct extcon_dev *edev, char *buf);
|
||||
|
||||
/* Internal data. Please do not set. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue