Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348187
b: refs/heads/master
c: 4c62e97
h: refs/heads/master
i:
  348185: c977efe
  348183: 6279fca
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 3, 2013
1 parent 1d1a45b commit 5cb6d25
Show file tree
Hide file tree
Showing 103 changed files with 361 additions and 374 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c571b211a70bcb04249be5cb7338f95d2ec8100f
refs/heads/master: 4c62e9764ab403d42f9b8871b1241fe7812f19d4
8 changes: 4 additions & 4 deletions trunk/drivers/media/i2c/adv7180.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,8 @@ static int init_device(struct i2c_client *client, struct adv7180_state *state)
return 0;
}

static __devinit int adv7180_probe(struct i2c_client *client,
const struct i2c_device_id *id)
static int adv7180_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct adv7180_state *state;
struct v4l2_subdev *sd;
Expand Down Expand Up @@ -587,7 +587,7 @@ static __devinit int adv7180_probe(struct i2c_client *client,
return ret;
}

static __devexit int adv7180_remove(struct i2c_client *client)
static int adv7180_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct adv7180_state *state = to_state(sd);
Expand Down Expand Up @@ -652,7 +652,7 @@ static struct i2c_driver adv7180_driver = {
.name = KBUILD_MODNAME,
},
.probe = adv7180_probe,
.remove = __devexit_p(adv7180_remove),
.remove = adv7180_remove,
#ifdef CONFIG_PM
.suspend = adv7180_suspend,
.resume = adv7180_resume,
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/i2c/adv7183.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ static struct i2c_driver adv7183_driver = {
.name = "adv7183",
},
.probe = adv7183_probe,
.remove = __devexit_p(adv7183_remove),
.remove = adv7183_remove,
.id_table = adv7183_id,
};

Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/media/i2c/as3645a.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ static int as3645a_resume(struct device *dev)
* The number of LEDs reported in platform data is used to compute default
* limits. Parameters passed through platform data can override those limits.
*/
static int __devinit as3645a_init_controls(struct as3645a *flash)
static int as3645a_init_controls(struct as3645a *flash)
{
const struct as3645a_platform_data *pdata = flash->pdata;
struct v4l2_ctrl *ctrl;
Expand Down Expand Up @@ -804,8 +804,8 @@ static int __devinit as3645a_init_controls(struct as3645a *flash)
return flash->ctrls.error;
}

static int __devinit as3645a_probe(struct i2c_client *client,
const struct i2c_device_id *devid)
static int as3645a_probe(struct i2c_client *client,
const struct i2c_device_id *devid)
{
struct as3645a *flash;
int ret;
Expand Down Expand Up @@ -846,7 +846,7 @@ static int __devinit as3645a_probe(struct i2c_client *client,
return ret;
}

static int __devexit as3645a_remove(struct i2c_client *client)
static int as3645a_remove(struct i2c_client *client)
{
struct v4l2_subdev *subdev = i2c_get_clientdata(client);
struct as3645a *flash = to_as3645a(subdev);
Expand Down Expand Up @@ -877,7 +877,7 @@ static struct i2c_driver as3645a_i2c_driver = {
.pm = &as3645a_pm_ops,
},
.probe = as3645a_probe,
.remove = __devexit_p(as3645a_remove),
.remove = as3645a_remove,
.id_table = as3645a_id_table,
};

Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/media/i2c/m5mols/m5mols_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,8 +926,8 @@ static irqreturn_t m5mols_irq_handler(int irq, void *data)
return IRQ_HANDLED;
}

static int __devinit m5mols_probe(struct i2c_client *client,
const struct i2c_device_id *id)
static int m5mols_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
const struct m5mols_platform_data *pdata = client->dev.platform_data;
struct m5mols_info *info;
Expand Down Expand Up @@ -1018,7 +1018,7 @@ static int __devinit m5mols_probe(struct i2c_client *client,
return ret;
}

static int __devexit m5mols_remove(struct i2c_client *client)
static int m5mols_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct m5mols_info *info = to_m5mols(sd);
Expand All @@ -1045,7 +1045,7 @@ static struct i2c_driver m5mols_i2c_driver = {
.name = MODULE_NAME,
},
.probe = m5mols_probe,
.remove = __devexit_p(m5mols_remove),
.remove = m5mols_remove,
.id_table = m5mols_id,
};

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/media/i2c/vs6624.c
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ static const struct v4l2_subdev_ops vs6624_ops = {
.video = &vs6624_video_ops,
};

static int __devinit vs6624_probe(struct i2c_client *client,
static int vs6624_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct vs6624 *sensor;
Expand Down Expand Up @@ -881,7 +881,7 @@ static int __devinit vs6624_probe(struct i2c_client *client,
return ret;
}

static int __devexit vs6624_remove(struct i2c_client *client)
static int vs6624_remove(struct i2c_client *client)
{
struct v4l2_subdev *sd = i2c_get_clientdata(client);
struct vs6624 *sensor = to_vs6624(sd);
Expand All @@ -906,7 +906,7 @@ static struct i2c_driver vs6624_driver = {
.name = "vs6624",
},
.probe = vs6624_probe,
.remove = __devexit_p(vs6624_remove),
.remove = vs6624_remove,
.id_table = vs6624_id,
};

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/mmc/siano/smssdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
#define SMSSDIO_INT 0x04
#define SMSSDIO_BLOCK_SIZE 128

static const struct sdio_device_id smssdio_ids[] __devinitconst = {
static const struct sdio_device_id smssdio_ids[] = {
{SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_STELLAR),
.driver_data = SMS1XXX_BOARD_SIANO_STELLAR},
{SDIO_DEVICE(SDIO_VENDOR_ID_SIANO, SDIO_DEVICE_ID_SIANO_NOVA_A0),
Expand Down Expand Up @@ -224,7 +224,7 @@ static void smssdio_interrupt(struct sdio_func *func)
smscore_onresponse(smsdev->coredev, cb);
}

static int __devinit smssdio_probe(struct sdio_func *func,
static int smssdio_probe(struct sdio_func *func,
const struct sdio_device_id *id)
{
int ret;
Expand Down
11 changes: 5 additions & 6 deletions trunk/drivers/media/pci/bt8xx/bt878.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ EXPORT_SYMBOL(bt878_device_control);
.driver_data = (unsigned long) name \
}

static struct pci_device_id bt878_pci_tbl[] __devinitdata = {
static struct pci_device_id bt878_pci_tbl[] = {
BROOKTREE_878_DEVICE(0x0071, 0x0101, "Nebula Electronics DigiTV"),
BROOKTREE_878_DEVICE(0x1461, 0x0761, "AverMedia AverTV DVB-T 761"),
BROOKTREE_878_DEVICE(0x11bd, 0x001c, "Pinnacle PCTV Sat"),
Expand All @@ -410,7 +410,7 @@ static struct pci_device_id bt878_pci_tbl[] __devinitdata = {

MODULE_DEVICE_TABLE(pci, bt878_pci_tbl);

static const char * __devinit card_name(const struct pci_device_id *id)
static const char * card_name(const struct pci_device_id *id)
{
return id->driver_data ? (const char *)id->driver_data : "Unknown";
}
Expand All @@ -419,8 +419,7 @@ static const char * __devinit card_name(const struct pci_device_id *id)
/* PCI device handling */
/***********************/

static int __devinit bt878_probe(struct pci_dev *dev,
const struct pci_device_id *pci_id)
static int bt878_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
{
int result = 0;
unsigned char lat;
Expand Down Expand Up @@ -529,7 +528,7 @@ static int __devinit bt878_probe(struct pci_dev *dev,
return result;
}

static void __devexit bt878_remove(struct pci_dev *pci_dev)
static void bt878_remove(struct pci_dev *pci_dev)
{
u8 command;
struct bt878 *bt = pci_get_drvdata(pci_dev);
Expand Down Expand Up @@ -573,7 +572,7 @@ static struct pci_driver bt878_pci_driver = {
.name = "bt878",
.id_table = bt878_pci_tbl,
.probe = bt878_probe,
.remove = __devexit_p(bt878_remove),
.remove = bt878_remove,
};

/*******************************/
Expand Down
34 changes: 16 additions & 18 deletions trunk/drivers/media/pci/bt8xx/bttv-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static int tea5757_read(struct bttv *btv);
static int tea5757_write(struct bttv *btv, int value);
static void identify_by_eeprom(struct bttv *btv,
unsigned char eeprom_data[256]);
static int __devinit pvr_boot(struct bttv *btv);
static int pvr_boot(struct bttv *btv);

/* config variables */
static unsigned int triton1;
Expand Down Expand Up @@ -151,7 +151,7 @@ static struct CARD {
unsigned id;
int cardnr;
char *name;
} cards[] __devinitdata = {
} cards[] = {
{ 0x13eb0070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV" },
{ 0x39000070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV-D" },
{ 0x45000070, BTTV_BOARD_HAUPPAUGEPVR, "Hauppauge WinTV/PVR" },
Expand Down Expand Up @@ -2837,7 +2837,7 @@ static unsigned char eeprom_data[256];
/*
* identify card
*/
void __devinit bttv_idcard(struct bttv *btv)
void bttv_idcard(struct bttv *btv)
{
unsigned int gpiobits;
int i,type;
Expand Down Expand Up @@ -3235,7 +3235,7 @@ static void bttv_reset_audio(struct bttv *btv)
}

/* initialization part one -- before registering i2c bus */
void __devinit bttv_init_card1(struct bttv *btv)
void bttv_init_card1(struct bttv *btv)
{
switch (btv->c.type) {
case BTTV_BOARD_HAUPPAUGE:
Expand Down Expand Up @@ -3267,7 +3267,7 @@ void __devinit bttv_init_card1(struct bttv *btv)
}

/* initialization part two -- after registering i2c bus */
void __devinit bttv_init_card2(struct bttv *btv)
void bttv_init_card2(struct bttv *btv)
{
btv->tuner_type = UNSET;

Expand Down Expand Up @@ -3571,7 +3571,7 @@ void __devinit bttv_init_card2(struct bttv *btv)


/* initialize the tuner */
void __devinit bttv_init_tuner(struct bttv *btv)
void bttv_init_tuner(struct bttv *btv)
{
int addr = ADDR_UNSET;

Expand Down Expand Up @@ -3635,7 +3635,7 @@ static void modtec_eeprom(struct bttv *btv)
}
}

static void __devinit hauppauge_eeprom(struct bttv *btv)
static void hauppauge_eeprom(struct bttv *btv)
{
struct tveeprom tv;

Expand Down Expand Up @@ -3709,8 +3709,7 @@ static int terratec_active_radio_upgrade(struct bttv *btv)
#define BTTV_ALT_DCLK 0x100000
#define BTTV_ALT_NCONFIG 0x800000

static int __devinit pvr_altera_load(struct bttv *btv, const u8 *micro,
u32 microlen)
static int pvr_altera_load(struct bttv *btv, const u8 *micro, u32 microlen)
{
u32 n;
u8 bits;
Expand Down Expand Up @@ -3747,7 +3746,7 @@ static int __devinit pvr_altera_load(struct bttv *btv, const u8 *micro,
return 0;
}

static int __devinit pvr_boot(struct bttv *btv)
static int pvr_boot(struct bttv *btv)
{
const struct firmware *fw_entry;
int rc;
Expand All @@ -3767,7 +3766,7 @@ static int __devinit pvr_boot(struct bttv *btv)
/* ----------------------------------------------------------------------- */
/* some osprey specific stuff */

static void __devinit osprey_eeprom(struct bttv *btv, const u8 ee[256])
static void osprey_eeprom(struct bttv *btv, const u8 ee[256])
{
int i;
u32 serial = 0;
Expand Down Expand Up @@ -3898,7 +3897,7 @@ static int tuner_1_table[] = {
TUNER_TEMIC_4012FY5, TUNER_TEMIC_4012FY5, /* TUNER_TEMIC_SECAM */
TUNER_TEMIC_4012FY5, TUNER_TEMIC_PAL};

static void __devinit avermedia_eeprom(struct bttv *btv)
static void avermedia_eeprom(struct bttv *btv)
{
int tuner_make, tuner_tv_fm, tuner_format, tuner_type = 0;

Expand Down Expand Up @@ -3960,7 +3959,7 @@ u32 bttv_tda9880_setnorm(struct bttv *btv, u32 gpiobits)
* Hauppauge: pin 5
* Voodoo: pin 20
*/
static void __devinit boot_msp34xx(struct bttv *btv, int pin)
static void boot_msp34xx(struct bttv *btv, int pin)
{
int mask = (1 << pin);

Expand All @@ -3983,11 +3982,10 @@ static void __devinit boot_msp34xx(struct bttv *btv, int pin)
* used by Alessandro Rubini in his pxc200
* driver, but using BTTV functions */

static void __devinit init_PXC200(struct bttv *btv)
static void init_PXC200(struct bttv *btv)
{
static int vals[] __devinitdata = { 0x08, 0x09, 0x0a, 0x0b, 0x0d, 0x0d,
0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
0x00 };
static int vals[] = { 0x08, 0x09, 0x0a, 0x0b, 0x0d, 0x0d, 0x01, 0x02,
0x03, 0x04, 0x05, 0x06, 0x00 };
unsigned int i;
int tmp;
u32 val;
Expand Down Expand Up @@ -4851,7 +4849,7 @@ void __init bttv_check_chipset(void)
}
}

int __devinit bttv_handle_chipset(struct bttv *btv)
int bttv_handle_chipset(struct bttv *btv)
{
unsigned char command;

Expand Down
9 changes: 4 additions & 5 deletions trunk/drivers/media/pci/bt8xx/bttv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -4199,7 +4199,7 @@ static void bttv_unregister_video(struct bttv *btv)
}

/* register video4linux devices */
static int __devinit bttv_register_video(struct bttv *btv)
static int bttv_register_video(struct bttv *btv)
{
if (no_overlay > 0)
pr_notice("Overlay support disabled\n");
Expand Down Expand Up @@ -4265,8 +4265,7 @@ static void pci_set_command(struct pci_dev *dev)
#endif
}

static int __devinit bttv_probe(struct pci_dev *dev,
const struct pci_device_id *pci_id)
static int bttv_probe(struct pci_dev *dev, const struct pci_device_id *pci_id)
{
int result;
unsigned char lat;
Expand Down Expand Up @@ -4454,7 +4453,7 @@ static int __devinit bttv_probe(struct pci_dev *dev,
return result;
}

static void __devexit bttv_remove(struct pci_dev *pci_dev)
static void bttv_remove(struct pci_dev *pci_dev)
{
struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev);
struct bttv *btv = to_bttv(v4l2_dev);
Expand Down Expand Up @@ -4598,7 +4597,7 @@ static struct pci_driver bttv_pci_driver = {
.name = "bttv",
.id_table = bttv_pci_tbl,
.probe = bttv_probe,
.remove = __devexit_p(bttv_remove),
.remove = bttv_remove,
#ifdef CONFIG_PM
.suspend = bttv_suspend,
.resume = bttv_resume,
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/media/pci/bt8xx/bttv-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static int bttv_bit_getsda(void *data)
return state;
}

static struct i2c_algo_bit_data __devinitdata bttv_i2c_algo_bit_template = {
static struct i2c_algo_bit_data bttv_i2c_algo_bit_template = {
.setsda = bttv_bit_setsda,
.setscl = bttv_bit_setscl,
.getsda = bttv_bit_getsda,
Expand Down Expand Up @@ -312,7 +312,7 @@ int bttv_I2CWrite(struct bttv *btv, unsigned char addr, unsigned char b1,
}

/* read EEPROM content */
void __devinit bttv_readee(struct bttv *btv, unsigned char *eedata, int addr)
void bttv_readee(struct bttv *btv, unsigned char *eedata, int addr)
{
memset(eedata, 0, 256);
if (0 != btv->i2c_rc)
Expand Down Expand Up @@ -347,7 +347,7 @@ static void do_i2c_scan(char *name, struct i2c_client *c)
}

/* init + register i2c adapter */
int __devinit init_bttv_i2c(struct bttv *btv)
int init_bttv_i2c(struct bttv *btv)
{
strlcpy(btv->i2c_client.name, "bttv internal", I2C_NAME_SIZE);

Expand Down
Loading

0 comments on commit 5cb6d25

Please sign in to comment.