Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53ac70aa authored by Sachin Kamat's avatar Sachin Kamat Committed by Linus Torvalds
Browse files

drivers/rtc/rtc-ds1672.c: remove empty function



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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b943abd3
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -153,11 +153,6 @@ static const struct rtc_class_ops ds1672_rtc_ops = {
	.set_mmss = ds1672_rtc_set_mmss,
	.set_mmss = ds1672_rtc_set_mmss,
};
};


static int ds1672_remove(struct i2c_client *client)
{
	return 0;
}

static int ds1672_probe(struct i2c_client *client,
static int ds1672_probe(struct i2c_client *client,
			const struct i2c_device_id *id)
			const struct i2c_device_id *id)
{
{
@@ -210,7 +205,6 @@ static struct i2c_driver ds1672_driver = {
		   .name = "rtc-ds1672",
		   .name = "rtc-ds1672",
		   },
		   },
	.probe = &ds1672_probe,
	.probe = &ds1672_probe,
	.remove = &ds1672_remove,
	.id_table = ds1672_id,
	.id_table = ds1672_id,
};
};