]> git.baikalelectronics.ru Git - kernel.git/commit
Input: apanel - convert to new i2c binding
authorJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 13:29:17 +0000 (14:29 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 7 Jan 2009 13:29:17 +0000 (14:29 +0100)
commit39fa874ebf24fa333330409c87b414f97cfd8605
treebb6c1c63c826ea1f71fd3a9ad430d3bab75261a0
parent82d7758847884f89c3fce7f662cb584b6a3ea6cc
Input: apanel - convert to new i2c binding

Convert the apanel driver to the new i2c device driver binding model,
as the legacy model is going away soon. In the new model, the apanel
driver is no longer scanning all the i2c adapters, instead the
relevant bus driver (i2c-i801) is instantiating the device as needed.

One side benefit is that the apanel driver will now load automatically
on all systems where it is needed.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Stephen Hemminger <shemminger@linux-foundation.org>
drivers/i2c/busses/i2c-i801.c
drivers/input/misc/apanel.c