]> git.baikalelectronics.ru Git - kernel.git/commit
device property: fallback to pset when gettng one string
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Aug 2015 16:56:47 +0000 (19:56 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Aug 2015 23:46:39 +0000 (01:46 +0200)
commit322f38018759e6b233bd0f1cc73e52eadb5006ac
tree84e494fce9c55ad8e09f10b41285649c6c94534d
parent4843e32a75f1a3fd2f8cea12036abfa12258d0c7
device property: fallback to pset when gettng one string

The one string as an equivalent to an array of one element. Allow user to read
one string as a plain string.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c