firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel)
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / ab8500.c
index 13d424fc1c14c675958014846b48391ff468dec7..10f2f4d4d190254cfa9602aa19223984c38fa691 100644 (file)
@@ -848,18 +848,12 @@ static __devexit int ab8500_regulator_remove(struct platform_device *pdev)
        return 0;
 }
 
-static const struct of_device_id ab8500_regulator_match[] = {
-        { .compatible = "stericsson,ab8500-regulator", },
-        {}
-};
-
 static struct platform_driver ab8500_regulator_driver = {
        .probe = ab8500_regulator_probe,
        .remove = __devexit_p(ab8500_regulator_remove),
        .driver         = {
                .name   = "ab8500-regulator",
                .owner  = THIS_MODULE,
-               .of_match_table = ab8500_regulator_match,
        },
 };