summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-08-15 07:16:27 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-08-17 22:29:05 +0200
commitfbc1b323d1f97c3880ed3377a127e2c0417d96ea (patch)
tree018e0252df72b75b4b89efb2d6a7a8128665a675 /Documentation
parentInput: ati_remote2 - constify usb_device_id (diff)
downloadlinux-fbc1b323d1f97c3880ed3377a127e2c0417d96ea.tar.xz
linux-fbc1b323d1f97c3880ed3377a127e2c0417d96ea.zip
Input: axp20x-pek - use driver_data of platform_device_id instead of extended attributes
To prepare an upcoming patch adding support for another PMIC that has different startup and shutdown time, use driver_data of platform_device_id instead of a fixed extended device attribute. By doing so, we also remove a lot of nested structures that aren't useful. With this patch, a new PMIC can be easily supported by just filling correctly its ax20x_info structure and adding a platform_device_id. Moreover, since we get rid of extended attributes, rename axp20x_store_ext_attr to axp20x_store_attr and axp20x_show_ext_attr to axp20x_show_attr. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions