diff options
Diffstat (limited to 'drivers/media/dvb/frontends/au8522_dig.c')
-rw-r--r-- | drivers/media/dvb/frontends/au8522_dig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/au8522_dig.c b/drivers/media/dvb/frontends/au8522_dig.c index 65f6a36dfb21..1d572940e243 100644 --- a/drivers/media/dvb/frontends/au8522_dig.c +++ b/drivers/media/dvb/frontends/au8522_dig.c | |||
@@ -635,7 +635,7 @@ static int au8522_led_gpio_enable(struct au8522_state *state, int onoff) | |||
635 | struct au8522_led_config *led_config = state->config->led_cfg; | 635 | struct au8522_led_config *led_config = state->config->led_cfg; |
636 | u8 val; | 636 | u8 val; |
637 | 637 | ||
638 | /* bail out if we cant control an LED */ | 638 | /* bail out if we can't control an LED */ |
639 | if (!led_config || !led_config->gpio_output || | 639 | if (!led_config || !led_config->gpio_output || |
640 | !led_config->gpio_output_enable || !led_config->gpio_output_disable) | 640 | !led_config->gpio_output_enable || !led_config->gpio_output_disable) |
641 | return 0; | 641 | return 0; |
@@ -665,7 +665,7 @@ static int au8522_led_ctrl(struct au8522_state *state, int led) | |||
665 | struct au8522_led_config *led_config = state->config->led_cfg; | 665 | struct au8522_led_config *led_config = state->config->led_cfg; |
666 | int i, ret = 0; | 666 | int i, ret = 0; |
667 | 667 | ||
668 | /* bail out if we cant control an LED */ | 668 | /* bail out if we can't control an LED */ |
669 | if (!led_config || !led_config->gpio_leds || | 669 | if (!led_config || !led_config->gpio_leds || |
670 | !led_config->num_led_states || !led_config->led_states) | 670 | !led_config->num_led_states || !led_config->led_states) |
671 | return 0; | 671 | return 0; |
@@ -803,7 +803,7 @@ static int au8522_led_status(struct au8522_state *state, const u16 *snr) | |||
803 | int led; | 803 | int led; |
804 | u16 strong; | 804 | u16 strong; |
805 | 805 | ||
806 | /* bail out if we cant control an LED */ | 806 | /* bail out if we can't control an LED */ |
807 | if (!led_config) | 807 | if (!led_config) |
808 | return 0; | 808 | return 0; |
809 | 809 | ||