| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Mac80211 SPI driver for ST-Ericsson CW1200 device |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 7 | 8 | * Based on cw1200_sdio.c |
|---|
| 8 | 9 | * Copyright (c) 2010, ST-Ericsson |
|---|
| 9 | 10 | * 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. |
|---|
| 14 | 11 | */ |
|---|
| 15 | 12 | |
|---|
| 16 | 13 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 271 | 268 | return ret; |
|---|
| 272 | 269 | } |
|---|
| 273 | 270 | |
|---|
| 274 | | -static int cw1200_spi_irq_unsubscribe(struct hwbus_priv *self) |
|---|
| 271 | +static void cw1200_spi_irq_unsubscribe(struct hwbus_priv *self) |
|---|
| 275 | 272 | { |
|---|
| 276 | | - int ret = 0; |
|---|
| 277 | | - |
|---|
| 278 | 273 | pr_debug("SW IRQ unsubscribe\n"); |
|---|
| 279 | 274 | disable_irq_wake(self->func->irq); |
|---|
| 280 | 275 | free_irq(self->func->irq, self); |
|---|
| 281 | | - |
|---|
| 282 | | - return ret; |
|---|
| 283 | 276 | } |
|---|
| 284 | 277 | |
|---|
| 285 | 278 | static int cw1200_spi_off(const struct cw1200_platform_data_spi *pdata) |
|---|