|
@@ -521,20 +521,6 @@ static struct platform_device cx20442_codec_device = {
|
|
|
.id = -1,
|
|
|
};
|
|
|
|
|
|
-static struct gpiod_lookup_table ams_delta_serio_gpio_table = {
|
|
|
- .table = {
|
|
|
- GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_DATA,
|
|
|
- "data", 0),
|
|
|
- GPIO_LOOKUP(OMAP_GPIO_LABEL, AMS_DELTA_GPIO_PIN_KEYBRD_CLK,
|
|
|
- "clock", 0),
|
|
|
- GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_PWR,
|
|
|
- "power", 0),
|
|
|
- GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_KEYBRD_DATAOUT,
|
|
|
- "dataout", 0),
|
|
|
- { },
|
|
|
- },
|
|
|
-};
|
|
|
-
|
|
|
static struct platform_device *ams_delta_devices[] __initdata = {
|
|
|
&latch1_gpio_device,
|
|
|
&latch2_gpio_device,
|
|
@@ -551,7 +537,6 @@ static struct platform_device *late_devices[] __initdata = {
|
|
|
|
|
|
static struct gpiod_lookup_table *ams_delta_gpio_tables[] __initdata = {
|
|
|
&ams_delta_audio_gpio_table,
|
|
|
- &ams_delta_serio_gpio_table,
|
|
|
};
|
|
|
|
|
|
static struct gpiod_lookup_table *late_gpio_tables[] __initdata = {
|
|
@@ -612,10 +597,6 @@ static void __init ams_delta_init(void)
|
|
|
*/
|
|
|
ams_delta_audio_gpio_table.dev_id =
|
|
|
dev_name(&ams_delta_audio_device.dev);
|
|
|
- /*
|
|
|
- * No device name is assigned to GPIO lookup table for serio device
|
|
|
- * as long as serio driver is not converted to platform device driver.
|
|
|
- */
|
|
|
|
|
|
gpiod_add_lookup_tables(ams_delta_gpio_tables,
|
|
|
ARRAY_SIZE(ams_delta_gpio_tables));
|