]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: rtsx: Fix build errors/warnings for unused variable
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 1 Mar 2022 11:53:00 +0000 (12:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:06:58 +0000 (14:06 +0200)
commit99a0c17db205e6fdca25441dda586d58d1993cdb
treefb07a3fe31801d1d0d860b4eae2cf4097ed489c1
parent1016d5af150630b8f9e0680d045b0a4cdf67cc62
mmc: rtsx: Fix build errors/warnings for unused variable

commit 3dd9a926ec2308e49445f22abef149fc64e9332e upstream.

The struct device *dev, is no longer needed at various functions, let's
therefore drop it to fix the build errors/warnings.

Fixes: 7570fb41e450 ("mmc: rtsx: Let MMC core handle runtime PM")
Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220301115300.64332-1-ulf.hansson@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/rtsx_pci_sdmmc.c