rtc: rtc-hid-sensor-time: allow 16 and 32 bit values for all attributes.
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-ls1x.c
index db82f91f456254f77f88f2cd50c862f169ea7aa3..682ecb094839ce9529e02cbd4c5aebdb92cc38f4 100644 (file)
@@ -185,19 +185,11 @@ err:
        return ret;
 }
 
-static int ls1x_rtc_remove(struct platform_device *pdev)
-{
-       platform_set_drvdata(pdev, NULL);
-
-       return 0;
-}
-
 static struct platform_driver  ls1x_rtc_driver = {
        .driver         = {
                .name   = "ls1x-rtc",
                .owner  = THIS_MODULE,
        },
-       .remove         = ls1x_rtc_remove,
        .probe          = ls1x_rtc_probe,
 };