diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-11-19 13:23:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-21 15:51:53 -0500 |
commit | 80c8ae289266529445fad030fabf5fcf01ccda0d (patch) | |
tree | eba9aed6018d314a492eea1e00f03e5de83a2665 /drivers/misc/ad525x_dpot.c | |
parent | 2d6bed9ca93e98685bc5038d686984fd449cd978 (diff) |
misc: remove use of __devinit
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot.c')
-rw-r--r-- | drivers/misc/ad525x_dpot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/ad525x_dpot.c b/drivers/misc/ad525x_dpot.c index 6938f1be664d..8f99e8e3f0ac 100644 --- a/drivers/misc/ad525x_dpot.c +++ b/drivers/misc/ad525x_dpot.c | |||
@@ -641,7 +641,7 @@ static const struct attribute_group ad525x_group_commands = { | |||
641 | .attrs = ad525x_attributes_commands, | 641 | .attrs = ad525x_attributes_commands, |
642 | }; | 642 | }; |
643 | 643 | ||
644 | __devinit int ad_dpot_add_files(struct device *dev, | 644 | int ad_dpot_add_files(struct device *dev, |
645 | unsigned features, unsigned rdac) | 645 | unsigned features, unsigned rdac) |
646 | { | 646 | { |
647 | int err = sysfs_create_file(&dev->kobj, | 647 | int err = sysfs_create_file(&dev->kobj, |
@@ -685,7 +685,7 @@ inline void ad_dpot_remove_files(struct device *dev, | |||
685 | } | 685 | } |
686 | } | 686 | } |
687 | 687 | ||
688 | int __devinit ad_dpot_probe(struct device *dev, | 688 | int ad_dpot_probe(struct device *dev, |
689 | struct ad_dpot_bus_data *bdata, unsigned long devid, | 689 | struct ad_dpot_bus_data *bdata, unsigned long devid, |
690 | const char *name) | 690 | const char *name) |
691 | { | 691 | { |