diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-04-19 13:24:58 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-04-23 09:29:49 +0200 |
commit | 7240803b2b850a9b4b005a7a95f17ce362d24bfb (patch) | |
tree | b15d8e1f886b686275017a85e0c03ecd33091187 /drivers/md/dm-thin-metadata.c | |
parent | mmc: mmc_spi: Drop unused NO_IRQ definition (diff) | |
download | linux-7240803b2b850a9b4b005a7a95f17ce362d24bfb.tar.xz linux-7240803b2b850a9b4b005a7a95f17ce362d24bfb.zip |
mmc: mmc_spi: Use already parsed IRQ
SPI core already parses and maps IRQ for us if provided.
Use it instead of double parsing in mmc_spi_get_pdata().
Due to above, change condition, since SPI core can hold
an error pointer as invalid IRQ.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210419112459.25241-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/md/dm-thin-metadata.c')
0 files changed, 0 insertions, 0 deletions