diff options
author | Ulf Hansson <[email protected]> | 2019-09-08 12:12:31 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2019-09-11 16:10:18 +0200 |
commit | 2c32dbbb5fc09a26e3a1c39bbf57537c54ed3e91 (patch) | |
tree | 878f69e9e4f6aeaab04568381e97d501a886e7f1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 36d57efb4af534dd6b442ea0b9a04aa6dfa37abe (diff) |
mmc: core: Clarify that the ->ack_sdio_irq() callback is mandatory
For the MMC_CAP2_SDIO_IRQ_NOTHREAD case and when using sdio_signal_irq(),
the ->ack_sdio_irq() is already mandatory, which was not the case for those
host drivers that called sdio_run_irqs() directly.
As there are no longer any drivers calling sdio_run_irqs(), let's clarify
the code by dropping the unnecessary check and explicitly state that the
callback is mandatory in the header file.
Tested-by: Matthias Kaehlcke <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions