leds-an30259a.c (3eb66e91a25497065c5322b1268cbc3953642227) | leds-an30259a.c (f3b357c280738781df3b25c1cbb8166e11982eeb) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2// 3// Driver for Panasonic AN30259A 3-channel LED driver 4// 5// Copyright (c) 2018 Simon Shields <simon@lineageos.org> 6// 7// Datasheet: 8// https://www.alliedelec.com/m/d/a9d2b3ee87c2d1a535a41dd747b1c247.pdf --- 339 unchanged lines hidden (view full) --- 348static const struct i2c_device_id an30259a_id[] = { 349 { "an30259a", 0 }, 350 { /* sentinel */ }, 351}; 352MODULE_DEVICE_TABLE(i2c, an30259a_id); 353 354static struct i2c_driver an30259a_driver = { 355 .driver = { | 1// SPDX-License-Identifier: GPL-2.0+ 2// 3// Driver for Panasonic AN30259A 3-channel LED driver 4// 5// Copyright (c) 2018 Simon Shields <simon@lineageos.org> 6// 7// Datasheet: 8// https://www.alliedelec.com/m/d/a9d2b3ee87c2d1a535a41dd747b1c247.pdf --- 339 unchanged lines hidden (view full) --- 348static const struct i2c_device_id an30259a_id[] = { 349 { "an30259a", 0 }, 350 { /* sentinel */ }, 351}; 352MODULE_DEVICE_TABLE(i2c, an30259a_id); 353 354static struct i2c_driver an30259a_driver = { 355 .driver = { |
356 .name = "leds-an32059a", | 356 .name = "leds-an30259a", |
357 .of_match_table = of_match_ptr(an30259a_match_table), 358 }, 359 .probe_new = an30259a_probe, 360 .remove = an30259a_remove, 361 .id_table = an30259a_id, 362}; 363 364module_i2c_driver(an30259a_driver); 365 366MODULE_AUTHOR("Simon Shields <simon@lineageos.org>"); | 357 .of_match_table = of_match_ptr(an30259a_match_table), 358 }, 359 .probe_new = an30259a_probe, 360 .remove = an30259a_remove, 361 .id_table = an30259a_id, 362}; 363 364module_i2c_driver(an30259a_driver); 365 366MODULE_AUTHOR("Simon Shields <simon@lineageos.org>"); |
367MODULE_DESCRIPTION("AN32059A LED driver"); | 367MODULE_DESCRIPTION("AN30259A LED driver"); |
368MODULE_LICENSE("GPL v2"); | 368MODULE_LICENSE("GPL v2"); |