Skip to content
Commit 882f312d authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by David S. Miller
Browse files

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: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 01f0f425
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment