commit | bca173248fed7477fa607afe0c2efde61f00dbd2 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Feb 14 10:23:31 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 20 08:15:31 2020 +0200 |
tree | 9d3ee46ef8190ca6797a21f002ad684ded8d2f98 | |
parent | a33f9c96871ed932bf28885cc708aec7b499bcad [diff] |
ptp: do not explicitly set drvdata in ptp_clock_register() commit 882f312dc0751c973db26478f07f082c584d16aa upstream. 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> Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Sasha Levin <sashal@kernel.org>