};
static const struct platform_device_id adp5585_gpio_id_table[] = {
- { "adp5585-gpio", (kernel_ulong_t)&adp5585_gpio_chip_info },
- { "adp5589-gpio", (kernel_ulong_t)&adp5589_gpio_chip_info },
+ { .name = "adp5585-gpio", .driver_data = (kernel_ulong_t)&adp5585_gpio_chip_info },
+ { .name = "adp5589-gpio", .driver_data = (kernel_ulong_t)&adp5589_gpio_chip_info },
{ /* Sentinel */ }
};
MODULE_DEVICE_TABLE(platform, adp5585_gpio_id_table);
}
static const struct platform_device_id bd72720_gpio_id[] = {
- { "bd72720-gpio" },
- { },
+ { .name = "bd72720-gpio" },
+ { }
};
MODULE_DEVICE_TABLE(platform, bd72720_gpio_id);
}
static const struct platform_device_id bd9571mwv_gpio_id_table[] = {
- { "bd9571mwv-gpio", ROHM_CHIP_TYPE_BD9571 },
- { "bd9574mwf-gpio", ROHM_CHIP_TYPE_BD9574 },
+ { .name = "bd9571mwv-gpio", .driver_data = ROHM_CHIP_TYPE_BD9571 },
+ { .name = "bd9574mwf-gpio", .driver_data = ROHM_CHIP_TYPE_BD9574 },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, bd9571mwv_gpio_id_table);
}
static const struct platform_device_id lp873x_gpio_id_table[] = {
- { "lp873x-gpio", },
+ { .name = "lp873x-gpio" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, lp873x_gpio_id_table);
}
static const struct platform_device_id lp87565_gpio_id_table[] = {
- { "lp87565-q1-gpio", },
+ { .name = "lp87565-q1-gpio" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, lp87565_gpio_id_table);
MODULE_DEVICE_TABLE(of, max77759_gpio_of_id);
static const struct platform_device_id max77759_gpio_platform_id[] = {
- { "max77759-gpio", },
+ { .name = "max77759-gpio" },
{ }
};
MODULE_DEVICE_TABLE(platform, max77759_gpio_platform_id);
}
static const struct platform_device_id gpio_id_table[] = {
- { "pxa25x-gpio", (unsigned long)&pxa25x_id },
- { "pxa26x-gpio", (unsigned long)&pxa26x_id },
- { "pxa27x-gpio", (unsigned long)&pxa27x_id },
- { "pxa3xx-gpio", (unsigned long)&pxa3xx_id },
- { "pxa93x-gpio", (unsigned long)&pxa93x_id },
- { "mmp-gpio", (unsigned long)&mmp_id },
- { "mmp2-gpio", (unsigned long)&mmp2_id },
- { "pxa1928-gpio", (unsigned long)&pxa1928_id },
- { },
+ { .name = "pxa25x-gpio", .driver_data = (unsigned long)&pxa25x_id },
+ { .name = "pxa26x-gpio", .driver_data = (unsigned long)&pxa26x_id },
+ { .name = "pxa27x-gpio", .driver_data = (unsigned long)&pxa27x_id },
+ { .name = "pxa3xx-gpio", .driver_data = (unsigned long)&pxa3xx_id },
+ { .name = "pxa93x-gpio", .driver_data = (unsigned long)&pxa93x_id },
+ { .name = "mmp-gpio", .driver_data = (unsigned long)&mmp_id },
+ { .name = "mmp2-gpio", .driver_data = (unsigned long)&mmp2_id },
+ { .name = "pxa1928-gpio", .driver_data = (unsigned long)&pxa1928_id },
+ { }
};
static struct platform_driver pxa_gpio_driver = {
}
static const struct platform_device_id tps65086_gpio_id_table[] = {
- { "tps65086-gpio", },
+ { .name = "tps65086-gpio" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, tps65086_gpio_id_table);
MODULE_DEVICE_TABLE(of, tps65218_dt_match);
static const struct platform_device_id tps65218_gpio_id_table[] = {
- { "tps65218-gpio", },
+ { .name = "tps65218-gpio" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, tps65218_gpio_id_table);
}
static const struct platform_device_id tps6521x_gpio_id_table[] = {
- { "tps65214-gpio", TPS65214 },
- { "tps65219-gpio", TPS65219 },
+ { .name = "tps65214-gpio", .driver_data = TPS65214 },
+ { .name = "tps65219-gpio", .driver_data = TPS65219 },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, tps6521x_gpio_id_table);
}
static const struct platform_device_id tps65912_gpio_id_table[] = {
- { "tps65912-gpio", },
+ { .name = "tps65912-gpio" },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, tps65912_gpio_id_table);