ARM: drivers: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Russell King <linux@arm.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -123,7 +123,7 @@ static const struct of_device_id memc_ids[] = {
|
||||
{}
|
||||
};
|
||||
|
||||
static int __devinit sirfsoc_memc_probe(struct platform_device *op)
|
||||
static int sirfsoc_memc_probe(struct platform_device *op)
|
||||
{
|
||||
struct device_node *np = op->dev.of_node;
|
||||
|
||||
|
@@ -107,7 +107,7 @@ static const struct of_device_id rtciobrg_ids[] = {
|
||||
{}
|
||||
};
|
||||
|
||||
static int __devinit sirfsoc_rtciobrg_probe(struct platform_device *op)
|
||||
static int sirfsoc_rtciobrg_probe(struct platform_device *op)
|
||||
{
|
||||
struct device_node *np = op->dev.of_node;
|
||||
|
||||
|
Reference in New Issue
Block a user