summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-01-29 19:37:08 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2018-03-07 14:19:47 +0100
commit53ad4a78f6671f66938d293e21bb6b2ec4b8e828 (patch)
treeb56087581d99c7074a734d9714fb3d9cbcca5dcb
parent7a5d9a913f91775805acae18bd6bd96e36f78a48 (diff)
downloadlinux-53ad4a78f6671f66938d293e21bb6b2ec4b8e828.tar.gz
linux-53ad4a78f6671f66938d293e21bb6b2ec4b8e828.tar.bz2
linux-53ad4a78f6671f66938d293e21bb6b2ec4b8e828.zip
ARM: pxa/raumfeld: use PROPERTY_ENTRY_U32() directly
Instead of using PROPERTY_ENTRY_INTEGER() with explicitly supplied type, use PROPERTY_ENTRY_U32() dedicated macro. It will help modify internals of built-in device properties API. No functional change intended. Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
-rw-r--r--arch/arm/mach-pxa/raumfeld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/raumfeld.c b/arch/arm/mach-pxa/raumfeld.c
index 4d5d05cf87d6..d3927bd4e1b8 100644
--- a/arch/arm/mach-pxa/raumfeld.c
+++ b/arch/arm/mach-pxa/raumfeld.c
@@ -378,9 +378,9 @@ static struct gpiod_lookup_table raumfeld_rotary_gpios_table = {
};
static const struct property_entry raumfeld_rotary_properties[] __initconst = {
- PROPERTY_ENTRY_INTEGER("rotary-encoder,steps-per-period", u32, 24),
- PROPERTY_ENTRY_INTEGER("linux,axis", u32, REL_X),
- PROPERTY_ENTRY_INTEGER("rotary-encoder,relative_axis", u32, 1),
+ PROPERTY_ENTRY_U32("rotary-encoder,steps-per-period", 24),
+ PROPERTY_ENTRY_U32("linux,axis", REL_X),
+ PROPERTY_ENTRY_U32("rotary-encoder,relative_axis", 1),
{ },
};