ARM: pxa: icontrol: Constify the software node
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 3 Mar 2021 15:28:12 +0000 (18:28 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 16 Mar 2021 13:29:42 +0000 (13:29 +0000)
commit2df0c4a640c55c0eff7f97907b98ad6fdfedd226
treeaba89bdccbb56ca064010af432ac6bcad41f55f1
parent47afc77bbfeac163d81c7a675d608c18561aa680
ARM: pxa: icontrol: Constify the software node

When device properties are supplied to the devices, in
reality a software fwnode that holds those properties is
created which is then assigned to the device. If the device
properties are constant the software node can also be
constant.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Link: https://lore.kernel.org/r/20210303152814.35070-3-heikki.krogerus@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-pxa/icontrol.c