]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: mpr121 - switch to device tree probe
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 15 Jan 2017 22:51:12 +0000 (14:51 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 15 Jan 2017 23:08:46 +0000 (15:08 -0800)
commitde901cc31d151c4c855346c29fb61eaf5ffac3ad
tree1e2f984b9858ab3957dd955b1138b3165fb3a7c5
parent08fea55e37f58371bffc5336a59e55d1f155955a
Input: mpr121 - switch to device tree probe

This driver currently only supports legacy platform data probe.  This
change adds device tree support and gets rid of platform data probe code
since no one is actually using mpr121 platform data in the mainline.

The device tree property parsing code is based on the work of
atmel_captouch driver.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/mpr121-touchkey.txt [new file with mode: 0644]
drivers/input/keyboard/mpr121_touchkey.c
include/linux/i2c/mpr121_touchkey.h [deleted file]