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)
commit1561bfe59ca011d9a749dad4d96c2c22ebc86a4a
treebb6c1c63c826ea1f71fd3a9ad430d3bab75261a0
parentb305271861219f0ce162eb565f0f28f4c781299d
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