ptp: do not explicitly set drvdata in ptp_clock_register()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 14 Feb 2017 18:23:31 +0000 (10:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 16:03:05 +0000 (11:03 -0500)
commit882f312dc0751c973db26478f07f082c584d16aa
tree98138b73119e8a679632588fe09a9ffaf5adddc6
parent01f0f4253469e1b1e80bc84ae64728c294534836
ptp: do not explicitly set drvdata in ptp_clock_register()

We do not need explicitly call dev_set_drvdata(), as it is done for us by
device_create().

Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_clock.c