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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
2d6bed9ca9
commit
80c8ae2892
@@ -641,7 +641,7 @@ static const struct attribute_group ad525x_group_commands = {
|
||||
.attrs = ad525x_attributes_commands,
|
||||
};
|
||||
|
||||
__devinit int ad_dpot_add_files(struct device *dev,
|
||||
int ad_dpot_add_files(struct device *dev,
|
||||
unsigned features, unsigned rdac)
|
||||
{
|
||||
int err = sysfs_create_file(&dev->kobj,
|
||||
@@ -685,7 +685,7 @@ inline void ad_dpot_remove_files(struct device *dev,
|
||||
}
|
||||
}
|
||||
|
||||
int __devinit ad_dpot_probe(struct device *dev,
|
||||
int ad_dpot_probe(struct device *dev,
|
||||
struct ad_dpot_bus_data *bdata, unsigned long devid,
|
||||
const char *name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user