mfd: vexpress-sysreg: Fix resource compound literal assignments
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 13 Nov 2022 19:10:27 +0000 (21:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2022 09:01:39 +0000 (10:01 +0100)
commitf613facc82cfd4b02b937b14872f24e27da4b909
tree305287342f682547747494952efde1f31ea1ae5a
parent2f465b921bb8ff97025017e05f6c7a7a1f6a5749
mfd: vexpress-sysreg: Fix resource compound literal assignments

Since DEFINE_RES_*() macros were converted to provide a compound literal
the user doesn't need to repeat it. Moreover, it may not be compiled.

Fixes: 52c4d11f1dce ("resource: Convert DEFINE_RES_NAMED() to be compound literal")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221113191027.2327-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/vexpress-sysreg.c