Skip to content

Commit 11c7fd6

Browse files
Dr. David Alan Gilbertmchehab
authored andcommitted
media: cx18: Remove unused cx18_reset_ir_gpio
cx18_reset_ir_gpio() has been unused in tree since 2009 commit eefe101 ("V4L/DVB (10759): cx18: Convert GPIO connected functions to act as v4l2_subdevices") It has a comment saying it's exported for use by 'lirc_pvr150' but I don't see any sign of it in the lirc git, and I see it removed support for lirc_i2c.c 'Flavors of the Hauppage PVR-150...' in 2014. Remove it. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 6c10d1a commit 11c7fd6

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

drivers/media/pci/cx18/cx18-gpio.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -305,21 +305,6 @@ int cx18_gpio_register(struct cx18 *cx, u32 hw)
305305
return v4l2_device_register_subdev(&cx->v4l2_dev, sd);
306306
}
307307

308-
void cx18_reset_ir_gpio(void *data)
309-
{
310-
struct cx18 *cx = to_cx18(data);
311-
312-
if (cx->card->gpio_i2c_slave_reset.ir_reset_mask == 0)
313-
return;
314-
315-
CX18_DEBUG_INFO("Resetting IR microcontroller\n");
316-
317-
v4l2_subdev_call(&cx->sd_resetctrl,
318-
core, reset, CX18_GPIO_RESET_Z8F0811);
319-
}
320-
EXPORT_SYMBOL(cx18_reset_ir_gpio);
321-
/* This symbol is exported for use by lirc_pvr150 for the IR-blaster */
322-
323308
/* Xceive tuner reset function */
324309
int cx18_reset_tuner_gpio(void *dev, int component, int cmd, int value)
325310
{

drivers/media/pci/cx18/cx18-gpio.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ enum cx18_gpio_reset_type {
1717
CX18_GPIO_RESET_XC2028 = 2,
1818
};
1919

20-
void cx18_reset_ir_gpio(void *data);
2120
int cx18_reset_tuner_gpio(void *dev, int component, int cmd, int value);

0 commit comments

Comments
 (0)