adp5520.c (df9b42963f2d010ae3163a894ce22cf6b27cd344) adp5520.c (84449216b01f9c2b4c9b1882f9d6abba07b7b7ca)
1/*
2 * Base driver for Analog Devices ADP5520/ADP5501 MFD PMICs
3 * LCD Backlight: drivers/video/backlight/adp5520_bl
4 * LEDs : drivers/led/leds-adp5520
5 * GPIO : drivers/gpio/adp5520-gpio (ADP5520 only)
6 * Keys : drivers/input/keyboard/adp5520-keys (ADP5520 only)
7 *
8 * Copyright 2009 Analog Devices Inc.

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

351
352static struct i2c_driver adp5520_driver = {
353 .driver = {
354 .name = "adp5520",
355 .owner = THIS_MODULE,
356 .pm = &adp5520_pm,
357 },
358 .probe = adp5520_probe,
1/*
2 * Base driver for Analog Devices ADP5520/ADP5501 MFD PMICs
3 * LCD Backlight: drivers/video/backlight/adp5520_bl
4 * LEDs : drivers/led/leds-adp5520
5 * GPIO : drivers/gpio/adp5520-gpio (ADP5520 only)
6 * Keys : drivers/input/keyboard/adp5520-keys (ADP5520 only)
7 *
8 * Copyright 2009 Analog Devices Inc.

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

351
352static struct i2c_driver adp5520_driver = {
353 .driver = {
354 .name = "adp5520",
355 .owner = THIS_MODULE,
356 .pm = &adp5520_pm,
357 },
358 .probe = adp5520_probe,
359 .remove = __devexit_p(adp5520_remove),
359 .remove = adp5520_remove,
360 .id_table = adp5520_id,
361};
362
363static int __init adp5520_init(void)
364{
365 return i2c_add_driver(&adp5520_driver);
366}
367module_init(adp5520_init);
368
369static void __exit adp5520_exit(void)
370{
371 i2c_del_driver(&adp5520_driver);
372}
373module_exit(adp5520_exit);
374
375MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
376MODULE_DESCRIPTION("ADP5520(01) PMIC-MFD Driver");
377MODULE_LICENSE("GPL");
360 .id_table = adp5520_id,
361};
362
363static int __init adp5520_init(void)
364{
365 return i2c_add_driver(&adp5520_driver);
366}
367module_init(adp5520_init);
368
369static void __exit adp5520_exit(void)
370{
371 i2c_del_driver(&adp5520_driver);
372}
373module_exit(adp5520_exit);
374
375MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
376MODULE_DESCRIPTION("ADP5520(01) PMIC-MFD Driver");
377MODULE_LICENSE("GPL");