leds-tca6507.c (44ab901f91b22dcfc7d03d6f0da15c5354042367) leds-tca6507.c (4d59ed85451befda203d72462f1b7ead0fde3267)
1/*
2 * leds-tca6507
3 *
4 * The TCA6507 is a programmable LED controller that can drive 7
5 * separate lines either by holding them low, or by pulsing them
6 * with modulated width.
7 * The modulation can be varied in a simple pattern to produce a
8 * blink or double-blink.

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

730#endif
731 return pdata;
732}
733
734static const struct of_device_id of_tca6507_leds_match[] = {
735 { .compatible = "ti,tca6507", },
736 {},
737};
1/*
2 * leds-tca6507
3 *
4 * The TCA6507 is a programmable LED controller that can drive 7
5 * separate lines either by holding them low, or by pulsing them
6 * with modulated width.
7 * The modulation can be varied in a simple pattern to produce a
8 * blink or double-blink.

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

730#endif
731 return pdata;
732}
733
734static const struct of_device_id of_tca6507_leds_match[] = {
735 { .compatible = "ti,tca6507", },
736 {},
737};
738MODULE_DEVICE_TABLE(of, of_tca6507_leds_match);
738
739#else
740static struct tca6507_platform_data *
741tca6507_led_dt_init(struct i2c_client *client)
742{
743 return ERR_PTR(-ENODEV);
744}
745

--- 99 unchanged lines hidden ---
739
740#else
741static struct tca6507_platform_data *
742tca6507_led_dt_init(struct i2c_client *client)
743{
744 return ERR_PTR(-ENODEV);
745}
746

--- 99 unchanged lines hidden ---