Drivers: media: 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 <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
このコミットが含まれているのは:
@@ -165,8 +165,8 @@ static const struct v4l2_subdev_ops tef6862_ops = {
|
||||
* concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'
|
||||
*/
|
||||
|
||||
static int __devinit tef6862_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
static int tef6862_probe(struct i2c_client *client,
|
||||
const struct i2c_device_id *id)
|
||||
{
|
||||
struct tef6862_state *state;
|
||||
struct v4l2_subdev *sd;
|
||||
@@ -189,7 +189,7 @@ static int __devinit tef6862_probe(struct i2c_client *client,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devexit tef6862_remove(struct i2c_client *client)
|
||||
static int tef6862_remove(struct i2c_client *client)
|
||||
{
|
||||
struct v4l2_subdev *sd = i2c_get_clientdata(client);
|
||||
|
||||
@@ -211,7 +211,7 @@ static struct i2c_driver tef6862_driver = {
|
||||
.name = DRIVER_NAME,
|
||||
},
|
||||
.probe = tef6862_probe,
|
||||
.remove = __devexit_p(tef6862_remove),
|
||||
.remove = tef6862_remove,
|
||||
.id_table = tef6862_id,
|
||||
};
|
||||
|
||||
|
新しいイシューから参照
ユーザーをブロックする