summaryrefslogtreecommitdiff
path: root/include/linux/led-class-flash.h
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2015-03-04 19:14:22 +0300
committerBryan Wu <cooloney@gmail.com>2015-03-10 03:16:23 +0300
commit94fdec768dc72a6993479f59a17daa413f30029e (patch)
tree6495761c9d3b3dc36a4aa27229d70914e48b1dc0 /include/linux/led-class-flash.h
parentca1bb4ee4c3a017bb66840d11d5efdf4e8f3f66d (diff)
downloadlinux-94fdec768dc72a6993479f59a17daa413f30029e.tar.xz
leds: flash: Remove synchronized flash strobe feature
Synchronized flash strobe feature has been considered not fitting for LED subsystem sysfs interface and thus is being removed. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'include/linux/led-class-flash.h')
-rw-r--r--include/linux/led-class-flash.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/led-class-flash.h b/include/linux/led-class-flash.h
index 3b5b9643cea1..21ec91e13c47 100644
--- a/include/linux/led-class-flash.h
+++ b/include/linux/led-class-flash.h
@@ -81,20 +81,6 @@ struct led_classdev_flash {
/* LED Flash class sysfs groups */
const struct attribute_group *sysfs_groups[LED_FLASH_MAX_SYSFS_GROUPS];
-
- /* LEDs available for flash strobe synchronization */
- struct led_classdev_flash **sync_leds;
-
- /* Number of LEDs available for flash strobe synchronization */
- int num_sync_leds;
-
- /*
- * The identifier of the sub-led to synchronize the flash strobe with.
- * Identifiers start from 1, which reflects the first element from the
- * sync_leds array. 0 means that the flash strobe should not be
- * synchronized.
- */
- u32 sync_led_id;
};
static inline struct led_classdev_flash *lcdev_to_flcdev(