]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-ds1672.c: remove empty function
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 27 Jun 2013 23:53:29 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:43 +0000 (16:38 +1000)
After the switch to devm_* functions and the removal of
rtc_device_unregister(), the 'remove' function does not do anything.
Delete it.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ds1672.c

index 3fc2a4738027d34754f0f162d98dccbc6c7cb2d5..18e2d847147288c6890812640376c64d87543212 100644 (file)
@@ -153,11 +153,6 @@ static const struct rtc_class_ops ds1672_rtc_ops = {
        .set_mmss = ds1672_rtc_set_mmss,
 };
 
-static int ds1672_remove(struct i2c_client *client)
-{
-       return 0;
-}
-
 static int ds1672_probe(struct i2c_client *client,
                        const struct i2c_device_id *id)
 {
@@ -210,7 +205,6 @@ static struct i2c_driver ds1672_driver = {
                   .name = "rtc-ds1672",
                   },
        .probe = &ds1672_probe,
-       .remove = &ds1672_remove,
        .id_table = ds1672_id,
 };