hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/net/wireless/st/cw1200/cw1200_spi.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Mac80211 SPI driver for ST-Ericsson CW1200 device
34 *
....@@ -7,10 +8,6 @@
78 * Based on cw1200_sdio.c
89 * Copyright (c) 2010, ST-Ericsson
910 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as
13
- * published by the Free Software Foundation.
1411 */
1512
1613 #include <linux/module.h>
....@@ -271,15 +268,11 @@
271268 return ret;
272269 }
273270
274
-static int cw1200_spi_irq_unsubscribe(struct hwbus_priv *self)
271
+static void cw1200_spi_irq_unsubscribe(struct hwbus_priv *self)
275272 {
276
- int ret = 0;
277
-
278273 pr_debug("SW IRQ unsubscribe\n");
279274 disable_irq_wake(self->func->irq);
280275 free_irq(self->func->irq, self);
281
-
282
- return ret;
283276 }
284277
285278 static int cw1200_spi_off(const struct cw1200_platform_data_spi *pdata)