pinctrl: Put space between type and data in compound literal
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Nov 2022 15:23:56 +0000 (17:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Nov 2022 09:53:25 +0000 (10:53 +0100)
It's slightly better to read when compound literal data and type
are separated by a space.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Link: https://lore.kernel.org/r/20221109152356.39868-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinctrl.h

index 31fe992..a0d39b3 100644 (file)
@@ -40,7 +40,7 @@ struct pingroup {
 
 /* Convenience macro to define a single named or anonymous pingroup */
 #define PINCTRL_PINGROUP(_name, _pins, _npins) \
-(struct pingroup)                            \
+(struct pingroup) {                            \
        .name = _name,                          \
        .pins = _pins,                          \
        .npins = _npins,                        \