From 8d85fce77edfc22f1d6dbf78e3af723b4b556f3d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 21 Dec 2012 15:13:49 -0800 Subject: Drivers: block: 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, __devinitconst, 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 Cc: Mike Miller Cc: Chirag Kantharia Cc: Geoff Levand Cc: Jim Paris Cc: Rusty Russell Cc: "Michael S. Tsirkin" Cc: Grant Likely Cc: Matthew Wilcox Cc: Keith Busch Cc: "David S. Miller" Cc: Benjamin Herrenschmidt Cc: NeilBrown Cc: Jens Axboe Cc: Tao Guo Signed-off-by: Greg Kroah-Hartman --- drivers/block/ps3disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/block/ps3disk.c') diff --git a/drivers/block/ps3disk.c b/drivers/block/ps3disk.c index da0abc1838c1..d754a88d7585 100644 --- a/drivers/block/ps3disk.c +++ b/drivers/block/ps3disk.c @@ -401,7 +401,7 @@ static unsigned long ps3disk_mask; static DEFINE_MUTEX(ps3disk_mask_mutex); -static int __devinit ps3disk_probe(struct ps3_system_bus_device *_dev) +static int ps3disk_probe(struct ps3_system_bus_device *_dev) { struct ps3_storage_device *dev = to_ps3_storage_device(&_dev->core); struct ps3disk_private *priv; -- cgit v1.2.3