[media] sp2: fix incorrect struct
authorOlli Salonen <olli.salonen@iki.fi>
Mon, 29 Sep 2014 07:44:17 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 13:46:34 +0000 (11:46 -0200)
Incorrect struct used in the SP2 driver.

Reported-by: Max Nibble <nibble.max@gmail.com>
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/sp2.c

index 9b684d5..1f4f250 100644 (file)
@@ -407,7 +407,7 @@ err:
 
 static int sp2_remove(struct i2c_client *client)
 {
-       struct si2157 *s = i2c_get_clientdata(client);
+       struct sp2 *s = i2c_get_clientdata(client);
 
        dev_dbg(&client->dev, "\n");