Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mei: vsc: Drop unused vsc_tp_request_irq() and vsc_tp_free_irq()

Drop the unused vsc_tp_request_irq() and vsc_tp_free_irq() functions.

Signed-off-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250623085052.12347-2-hansg@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hans de Goede and committed by
Greg Kroah-Hartman
a49159aa 217592d0

-34
-31
drivers/misc/mei/vsc-tp.c
··· 407 407 EXPORT_SYMBOL_NS_GPL(vsc_tp_register_event_cb, "VSC_TP"); 408 408 409 409 /** 410 - * vsc_tp_request_irq - request irq for vsc_tp device 411 - * @tp: vsc_tp device handle 412 - */ 413 - int vsc_tp_request_irq(struct vsc_tp *tp) 414 - { 415 - struct spi_device *spi = tp->spi; 416 - struct device *dev = &spi->dev; 417 - int ret; 418 - 419 - irq_set_status_flags(spi->irq, IRQ_DISABLE_UNLAZY); 420 - ret = request_threaded_irq(spi->irq, vsc_tp_isr, vsc_tp_thread_isr, 421 - IRQF_TRIGGER_FALLING | IRQF_ONESHOT, 422 - dev_name(dev), tp); 423 - if (ret) 424 - return ret; 425 - 426 - return 0; 427 - } 428 - EXPORT_SYMBOL_NS_GPL(vsc_tp_request_irq, "VSC_TP"); 429 - 430 - /** 431 - * vsc_tp_free_irq - free irq for vsc_tp device 432 - * @tp: vsc_tp device handle 433 - */ 434 - void vsc_tp_free_irq(struct vsc_tp *tp) 435 - { 436 - free_irq(tp->spi->irq, tp); 437 - } 438 - EXPORT_SYMBOL_NS_GPL(vsc_tp_free_irq, "VSC_TP"); 439 - 440 - /** 441 410 * vsc_tp_intr_synchronize - synchronize vsc_tp interrupt 442 411 * @tp: vsc_tp device handle 443 412 */
-3
drivers/misc/mei/vsc-tp.h
··· 37 37 int vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb, 38 38 void *context); 39 39 40 - int vsc_tp_request_irq(struct vsc_tp *tp); 41 - void vsc_tp_free_irq(struct vsc_tp *tp); 42 - 43 40 void vsc_tp_intr_enable(struct vsc_tp *tp); 44 41 void vsc_tp_intr_disable(struct vsc_tp *tp); 45 42 void vsc_tp_intr_synchronize(struct vsc_tp *tp);