platform: constify properties in platform_device
authorTomas Winkler <tomas.winkler@intel.com>
Sat, 8 Feb 2020 18:44:07 +0000 (20:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Feb 2020 21:35:39 +0000 (13:35 -0800)
commit469e1906a1b121ecb0c2ef43f28a98fd9d453831
treedd8288568605f5b4ea35796632134a00dd7cf283
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
platform: constify properties in platform_device

Constify 'struct property_entry *properties' in
platform_device. It is always passed around as a pointer const struct.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20200208184407.1294-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/platform_device.h