device property: keep single value inplace
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Nov 2015 15:11:32 +0000 (17:11 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Dec 2015 01:29:22 +0000 (02:29 +0100)
commit66586baba56679baa2da1a10a96ccf15b1e96b95
treee3d941455d6478cb071edc6ef307ba3f7b45fcf3
parent318a1971826103ecf560875b17236dd4a93e8c88
device property: keep single value inplace

We may save a lot of lines of code and space by keeping single values inside
the struct property_entry. Refactor the implementation to do so.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c
include/linux/property.h