Преглед изворни кода

device property: add spaces to PROPERTY_ENTRY_STRING macro

Just a style fix, no functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Andy Shevchenko пре 10 година
родитељ
комит
aace7367bf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      include/linux/property.h

+ 1 - 1
include/linux/property.h

@@ -230,7 +230,7 @@ struct property_entry {
 	.name = _name_,					\
 	.length = sizeof(_val_),			\
 	.is_string = true,				\
-	{ .value = {.str = _val_} },			\
+	{ .value = { .str = _val_ } },			\
 }
 
 #define PROPERTY_ENTRY_BOOL(_name_)		\