rtc: rtc-hid-sensor-time: allow 16 and 32 bit values for all attributes.
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / rtc-spear.c
index 574359c48f65c39c9dce16dbefebaabf68ad4528..c492cf0ab8cd64c113f34754c865768d30007468 100644 (file)
@@ -417,7 +417,6 @@ static int spear_rtc_probe(struct platform_device *pdev)
        return 0;
 
 err_disable_clock:
-       platform_set_drvdata(pdev, NULL);
        clk_disable_unprepare(config->clk);
 
        return status;