]> git.baikalelectronics.ru Git - kernel.git/commit
Input: mma8450 - add parent device
authorStefan Sauer <ensonic@google.com>
Thu, 26 Feb 2015 01:11:04 +0000 (17:11 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 26 Feb 2015 01:13:51 +0000 (17:13 -0800)
commit0e07d7f207a64e53c4d407f324b8d8c698245cb9
tree721acdbfda5f23bcc774713ca50678e82dc76fa8
parent6d1a87713a247ffe38d7bf3e7bb501ef528069bb
Input: mma8450 - add parent device

Add the parent device so that udev can show the full hierarchy. This avoids
the device showing up under /devices/virtual/input instead of the i2c bus
it is actually attached to.

Signed-off-by: Stefan Sauer <ensonic@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/mma8450.c