]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/media/mn88472/mn88472.c
Merge tag 'media/v4.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / drivers / staging / media / mn88472 / mn88472.c
index a4cfcf57c99c0d37d6fcd7b100f4b1f25d8d5ec2..cf2e96bcf39518e5e0fba87383b15b4fc61375bc 100644 (file)
@@ -218,7 +218,7 @@ err:
        return ret;
 }
 
-static int mn88472_read_status(struct dvb_frontend *fe, fe_status_t *status)
+static int mn88472_read_status(struct dvb_frontend *fe, enum fe_status *status)
 {
        struct i2c_client *client = fe->demodulator_priv;
        struct mn88472_dev *dev = i2c_get_clientdata(client);
@@ -344,12 +344,12 @@ static int mn88472_init(struct dvb_frontend *fe)
        if (ret) {
                dev_err(&client->dev,
                                "parity reg read failed=%d\n", ret);
-               goto err;
+               goto firmware_release;
        }
        if (tmp & 0x10) {
                dev_err(&client->dev,
                                "firmware parity check failed=0x%x\n", tmp);
-               goto err;
+               goto firmware_release;
        }
        dev_err(&client->dev, "firmware parity check succeeded=0x%x\n", tmp);
 
@@ -561,7 +561,6 @@ MODULE_DEVICE_TABLE(i2c, mn88472_id_table);
 
 static struct i2c_driver mn88472_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "mn88472",
        },
        .probe          = mn88472_probe,