summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-07-13 15:45:09 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-13 15:45:08 -0700
commit7fe77ef84d4503dae0b69f90308d8cb901ce37f5 (patch)
treeb58f889730170c7c77489d43aa8375643f65ac61 /include/linux
parent8ba1928ffc45f5691154c41a12512e254b67dff3 (diff)
parent153a1225e290cf8aeceda9ed0573ca800f1f5df6 (diff)
Merge "leds: qpnp-flash-v2: Separate switch node disable sequence"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/leds-qpnp-flash-v2.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/include/linux/leds-qpnp-flash-v2.h b/include/linux/leds-qpnp-flash-v2.h
index 428c0671b716..47fd0699a9c1 100644
--- a/include/linux/leds-qpnp-flash-v2.h
+++ b/include/linux/leds-qpnp-flash-v2.h
@@ -19,46 +19,6 @@
#define ENABLE_REGULATOR BIT(0)
#define QUERY_MAX_CURRENT BIT(1)
-struct flash_regulator_data {
- struct regulator *vreg;
- const char *reg_name;
- u32 max_volt_uv;
-};
-
-/*
- * Configurations for each individual LED
- */
-struct flash_node_data {
- struct platform_device *pdev;
- struct led_classdev cdev;
- struct pinctrl *pinctrl;
- struct pinctrl_state *gpio_state_active;
- struct pinctrl_state *gpio_state_suspend;
- struct pinctrl_state *hw_strobe_state_active;
- struct pinctrl_state *hw_strobe_state_suspend;
- int hw_strobe_gpio;
- int ires_ua;
- int max_current;
- int current_ma;
- u8 duration;
- u8 id;
- u8 type;
- u8 ires;
- u8 hdrm_val;
- u8 current_reg_val;
- u8 trigger;
- bool led_on;
-};
-
-struct flash_switch_data {
- struct platform_device *pdev;
- struct led_classdev cdev;
- struct flash_regulator_data *reg_data;
- int led_mask;
- int num_regulators;
- bool regulator_on;
-};
-
int qpnp_flash_led_prepare(struct led_classdev *led_cdev, int options);
#endif