]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: intel_cht_int33fe: Convert software node array to group
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 Apr 2020 16:09:03 +0000 (19:09 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 Apr 2020 11:47:45 +0000 (14:47 +0300)
commit96b844ffe7c0ea0bf851310318ff2a01f5239faf
tree39836bcee4f4a729961fefa5b9f892aff9069f9a
parentcd40a32668d10e0a2a8c7621ee338b0c2fe7d017
platform/x86: intel_cht_int33fe: Convert software node array to group

Code looks and be read cleaner when software nodes are defined individually.
Convert software node array to a group in order to achieve above.

While here, switch struct initializers to C99 standard.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
drivers/platform/x86/intel_cht_int33fe_typec.c