diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 22:05:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-27 01:05:17 (GMT) |
commit | 3499116b915e260b275c167a471e0e05bbe3f1d6 (patch) | |
tree | c5e7a9da815204b34141411ba621b49d2859112e /drivers/ptp/ptp_clock.c | |
parent | 5baa7503a7a0b8d65308ff3b2ab887bf343c65d3 (diff) | |
download | linux-3499116b915e260b275c167a471e0e05bbe3f1d6.tar.xz |
PTP: convert class code to use dev_groups
The dev_attrs field of struct class is going away soon, dev_groups
should be used instead. This converts the ptp class code to use the
correct field.
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ptp/ptp_clock.c')
-rw-r--r-- | drivers/ptp/ptp_clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c index 4a8c388..a8319b2 100644 --- a/drivers/ptp/ptp_clock.c +++ b/drivers/ptp/ptp_clock.c @@ -330,7 +330,7 @@ static int __init ptp_init(void) goto no_region; } - ptp_class->dev_attrs = ptp_dev_attrs; + ptp_class->dev_groups = ptp_groups; pr_info("PTP clock support registered\n"); return 0; |