diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 02:05:20 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-27 05:05:17 +0400 |
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 4a8c388364ca..a8319b266643 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; |