Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fc75280 authored by Samuel Iglesias Gonsalvez's avatar Samuel Iglesias Gonsalvez Committed by Greg Kroah-Hartman
Browse files

Staging: ipack/bridges/tpci200: remove name field from slot_irq



This field is not needed at all, as the IRQ is registered for the carrier not
for the mezzanine.

Signed-off-by: default avatarSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e149ef80
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -750,7 +750,6 @@ static int tpci200_request_irq(struct ipack_device *dev, int vector,
	slot_irq->vector = vector;
	slot_irq->handler = handler;
	slot_irq->arg = arg;
	slot_irq->name = dev_name(&dev->dev);

	tpci200->slots[dev->slot].irq = slot_irq;
	res = __tpci200_request_irq(tpci200, dev);
+0 −2
Original line number Diff line number Diff line
@@ -105,14 +105,12 @@
 * @vector	Vector number
 * @handler	Handler called when IRQ arrives
 * @arg		Handler argument
 * @name	IRQ name
 *
 */
struct slot_irq {
	int		vector;
	int		(*handler)(void *);
	void		*arg;
	const char	*name;
};

/**