mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-03-18 21:14:28 +00:00
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: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
This commit is contained in:
parent
0910b28ef4
commit
c9e1498a18
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue