aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/extcon.h
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2015-05-27 10:06:30 -0400
committerChanwoo Choi <cw00.choi@samsung.com>2015-05-29 06:56:11 -0400
commitf8df88081183bd4d3c461c617c3519445eb85642 (patch)
treec710005e6749611c2f6c23f7982e61a82d8defba /include/linux/extcon.h
parent046050f6e623e442e9c71c525462ebd395dae526 (diff)
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>
Diffstat (limited to 'include/linux/extcon.h')
-rw-r--r--include/linux/extcon.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/extcon.h b/include/linux/extcon.h
index be9652b3a154..a7b224b20ecc 100644
--- a/include/linux/extcon.h
+++ b/include/linux/extcon.h
@@ -83,8 +83,6 @@ struct extcon_cable;
83 * be attached simulataneously. {0x7, 0} is equivalent to 83 * be attached simulataneously. {0x7, 0} is equivalent to
84 * {0x3, 0x6, 0x5, 0}. If it is {0xFFFFFFFF, 0}, there 84 * {0x3, 0x6, 0x5, 0}. If it is {0xFFFFFFFF, 0}, there
85 * can be no simultaneous connections. 85 * can be no simultaneous connections.
86 * @print_name: An optional callback to override the method to print the
87 * name of the extcon device.
88 * @print_state: An optional callback to override the method to print the 86 * @print_state: An optional callback to override the method to print the
89 * status of the extcon device. 87 * status of the extcon device.
90 * @dev: Device of this extcon. 88 * @dev: Device of this extcon.
@@ -111,7 +109,6 @@ struct extcon_dev {
111 const u32 *mutually_exclusive; 109 const u32 *mutually_exclusive;
112 110
113 /* Optional callbacks to override class functions */ 111 /* Optional callbacks to override class functions */
114 ssize_t (*print_name)(struct extcon_dev *edev, char *buf);
115 ssize_t (*print_state)(struct extcon_dev *edev, char *buf); 112 ssize_t (*print_state)(struct extcon_dev *edev, char *buf);
116 113
117 /* Internal data. Please do not set. */ 114 /* Internal data. Please do not set. */