SPARC: 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: "David S. Miller" <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#define DRV_MODULE_VERSION "1.0"
|
||||
#define DRV_MODULE_RELDATE "Jul 11, 2007"
|
||||
|
||||
static char version[] __devinitdata =
|
||||
static char version[] =
|
||||
DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
|
||||
MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");
|
||||
MODULE_DESCRIPTION("Sun LDOM domain services driver");
|
||||
@@ -1146,8 +1146,7 @@ static void ds_event(void *arg, int event)
|
||||
spin_unlock_irqrestore(&ds_lock, flags);
|
||||
}
|
||||
|
||||
static int __devinit ds_probe(struct vio_dev *vdev,
|
||||
const struct vio_device_id *id)
|
||||
static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id)
|
||||
{
|
||||
static int ds_version_printed;
|
||||
struct ldc_channel_config ds_cfg = {
|
||||
|
Reference in New Issue
Block a user