]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/input/touchscreen/ar1021_i2c.c
Input: drop owner assignment from i2c_driver
[karo-tx-linux.git] / drivers / input / touchscreen / ar1021_i2c.c
index ba30578e296e4efa3032b307388975d7a6ec9172..71b5a634cf6d56509f49563ed7454af9f8ae1b88 100644 (file)
@@ -157,7 +157,7 @@ static const struct i2c_device_id ar1021_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id);
 
-static struct of_device_id ar1021_i2c_of_match[] = {
+static const struct of_device_id ar1021_i2c_of_match[] = {
        { .compatible = "microchip,ar1021-i2c", },
        { }
 };
@@ -166,7 +166,6 @@ MODULE_DEVICE_TABLE(of, ar1021_i2c_of_match);
 static struct i2c_driver ar1021_i2c_driver = {
        .driver = {
                .name   = "ar1021_i2c",
-               .owner  = THIS_MODULE,
                .pm     = &ar1021_i2c_pm,
                .of_match_table = ar1021_i2c_of_match,
        },