tps6105x.c (53279f36dccffc26ff536003fd6bb97cc21c3b82) tps6105x.c (84449216b01f9c2b4c9b1882f9d6abba07b7b7ca)
1/*
2 * Core driver for TPS61050/61052 boost converters, used for while LED
3 * driving, audio power amplification, white LED flash, and generic
4 * boost conversion. Additionally it provides a 1-bit GPIO pin (out or in)
5 * and a flash synchronization pin to synchronize flash events when used as
6 * flashgun.
7 *
8 * Copyright (C) 2011 ST-Ericsson SA

--- 212 unchanged lines hidden (view full) ---

221};
222MODULE_DEVICE_TABLE(i2c, tps6105x_id);
223
224static struct i2c_driver tps6105x_driver = {
225 .driver = {
226 .name = "tps6105x",
227 },
228 .probe = tps6105x_probe,
1/*
2 * Core driver for TPS61050/61052 boost converters, used for while LED
3 * driving, audio power amplification, white LED flash, and generic
4 * boost conversion. Additionally it provides a 1-bit GPIO pin (out or in)
5 * and a flash synchronization pin to synchronize flash events when used as
6 * flashgun.
7 *
8 * Copyright (C) 2011 ST-Ericsson SA

--- 212 unchanged lines hidden (view full) ---

221};
222MODULE_DEVICE_TABLE(i2c, tps6105x_id);
223
224static struct i2c_driver tps6105x_driver = {
225 .driver = {
226 .name = "tps6105x",
227 },
228 .probe = tps6105x_probe,
229 .remove = __devexit_p(tps6105x_remove),
229 .remove = tps6105x_remove,
230 .id_table = tps6105x_id,
231};
232
233static int __init tps6105x_init(void)
234{
235 return i2c_add_driver(&tps6105x_driver);
236}
237subsys_initcall(tps6105x_init);
238
239static void __exit tps6105x_exit(void)
240{
241 i2c_del_driver(&tps6105x_driver);
242}
243module_exit(tps6105x_exit);
244
245MODULE_AUTHOR("Linus Walleij");
246MODULE_DESCRIPTION("TPS6105x White LED Boost Converter Driver");
247MODULE_LICENSE("GPL v2");
230 .id_table = tps6105x_id,
231};
232
233static int __init tps6105x_init(void)
234{
235 return i2c_add_driver(&tps6105x_driver);
236}
237subsys_initcall(tps6105x_init);
238
239static void __exit tps6105x_exit(void)
240{
241 i2c_del_driver(&tps6105x_driver);
242}
243module_exit(tps6105x_exit);
244
245MODULE_AUTHOR("Linus Walleij");
246MODULE_DESCRIPTION("TPS6105x White LED Boost Converter Driver");
247MODULE_LICENSE("GPL v2");