diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 15:05:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-19 21:22:34 -0700 |
commit | bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef (patch) | |
tree | bb5da1ba47c15a60b7506479eec42d092e481825 /drivers/pps/pps.c | |
parent | e80b89a5f1a4db0ce841f9baf2a192b37e8815e1 (diff) | |
download | talos-op-linux-bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef.tar.gz talos-op-linux-bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef.zip |
PPS: 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 pps class code to use the
correct field.
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pps/pps.c')
-rw-r--r-- | drivers/pps/pps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/pps.c b/drivers/pps/pps.c index 7173e3ad475d..2f07cd615665 100644 --- a/drivers/pps/pps.c +++ b/drivers/pps/pps.c @@ -406,7 +406,7 @@ static int __init pps_init(void) pr_err("failed to allocate class\n"); return PTR_ERR(pps_class); } - pps_class->dev_attrs = pps_attrs; + pps_class->dev_groups = pps_groups; err = alloc_chrdev_region(&pps_devt, 0, PPS_MAX_SOURCES, "pps"); if (err < 0) { |