aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/intel-lpss.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2021-03-01 16:42:21 +0200
committerLee Jones <lee.jones@linaro.org>2021-04-14 16:06:11 +0100
commit03152e35dd228065d4189464fe1b2554434da6ac (patch)
tree8d24e17a5e3004f3dd1cd7c1775d500f237c440d /drivers/mfd/intel-lpss.c
parentmfd: intel-lpss: Constify device property structures (diff)
downloadlinux-dev-03152e35dd228065d4189464fe1b2554434da6ac.tar.xz
linux-dev-03152e35dd228065d4189464fe1b2554434da6ac.zip
mfd: intel-lpss: Switch to use the software nodes
Software node was always created for the device if it was supplied with additional device properties, so those nodes might as well be constant. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/intel-lpss.c')
-rw-r--r--drivers/mfd/intel-lpss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/intel-lpss.c b/drivers/mfd/intel-lpss.c
index b0f0781a6b9c..a9bf10bee796 100644
--- a/drivers/mfd/intel-lpss.c
+++ b/drivers/mfd/intel-lpss.c
@@ -399,7 +399,7 @@ int intel_lpss_probe(struct device *dev,
if (ret)
return ret;
- lpss->cell->properties = info->properties;
+ lpss->cell->swnode = info->swnode;
intel_lpss_init_dev(lpss);