Commit c9e1498a authored by Frans Meulenbroeks's avatar Frans Meulenbroeks Committed by Guenter Roeck

hwmon: (sht15) fix checkpatch issues

fixed:
WARNING: line over 80 characters
#809: FILE: sht15.c:809:
+		/* If still not occurred or another handler has been scheduled */
Signed-off-by: default avatarFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent 0910b28e
...@@ -806,7 +806,7 @@ static void sht15_bh_read_data(struct work_struct *work_s) ...@@ -806,7 +806,7 @@ static void sht15_bh_read_data(struct work_struct *work_s)
*/ */
atomic_set(&data->interrupt_handled, 0); atomic_set(&data->interrupt_handled, 0);
enable_irq(gpio_to_irq(data->pdata->gpio_data)); enable_irq(gpio_to_irq(data->pdata->gpio_data));
/* If still not occurred or another handler has been scheduled */ /* If still not occurred or another handler was scheduled */
if (gpio_get_value(data->pdata->gpio_data) if (gpio_get_value(data->pdata->gpio_data)
|| atomic_read(&data->interrupt_handled)) || atomic_read(&data->interrupt_handled))
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment