On all other parts, this var is called state. So, use the same
name here, to be consistent.

Signed-off-by: Mauro Carvalho Chehab <mche...@redhat.com>
---
 drivers/media/dvb/dvb-usb-v2/az6007.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb-v2/az6007.c 
b/drivers/media/dvb/dvb-usb-v2/az6007.c
index 4671eaa..bb7f61d 100644
--- a/drivers/media/dvb/dvb-usb-v2/az6007.c
+++ b/drivers/media/dvb/dvb-usb-v2/az6007.c
@@ -637,13 +637,13 @@ static int az6007_tuner_attach(struct dvb_usb_adapter 
*adap)
 
 int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
 {
-       struct az6007_device_state *st = d_to_priv(d);
+       struct az6007_device_state *state = d_to_priv(d);
        int ret;
 
        pr_debug("%s()\n", __func__);
 
-       if (!st->warm) {
-               mutex_init(&st->mutex);
+       if (!state->warm) {
+               mutex_init(&state->mutex);
 
                ret = az6007_write(d, AZ6007_POWER, 0, 2, NULL, 0);
                if (ret < 0)
@@ -674,7 +674,7 @@ int az6007_power_ctrl(struct dvb_usb_device *d, int onoff)
                if (ret < 0)
                        return ret;
 
-               st->warm = true;
+               state->warm = true;
 
                return 0;
        }
-- 
1.7.11.2

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to