Skip to contentSkip to conversation

ARM: pxa/raumfeld: use PROPERTY_ENTRY_U32() directly

PATCH RESEND New Andy Shevchenko 2 participants 4 messages Jan 29, 2018 – Feb 27, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 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.

---
- resend

 arch/arm/mach-pxa/raumfeld.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/mach-pxa/raumfeld.c +3 -3
index 9d662fed03ec..0bf5419a9d10 100644
@@ -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),
 	{ },
 };
 
Signature · 1 line
2.15.1
maintainer Applied
#1 lore raw

PATCH RESEND 1/1 ARM: pxa/raumfeld: use PROPERTY_ENTRY_U32() directly

Quoted 9 lines · Andy Shevchenko

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.

Applied to pxa/for-next branch, thanks.

Cheers.

--
Robert

#2 lore raw

PATCH RESEND 1/1 ARM: pxa/raumfeld: use PROPERTY_ENTRY_U32() directly

Quoted 6 lines · Robert Jarzmik
Quoted 4 lines · Andy Shevchenko

Instead of using PROPERTY_ENTRY_INTEGER() with explicitly supplied type,
use PROPERTY_ENTRY_U32() dedicated macro.

Quoted 8 lines
Quoted 6 lines

It will help modify internals of built-in device properties API.

No functional change intended.

Applied to pxa/for-next branch, thanks.

Can't find either in linux-next, or in your tree on Github. Am I looking at wrong locations?

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy
maintainer
#3 lore raw

PATCH RESEND 1/1 ARM: pxa/raumfeld: use PROPERTY_ENTRY_U32() directly

Quoted 11 lines · Andy Shevchenko
Quoted 10 lines · Robert Jarzmik
Quoted 8 lines · Andy Shevchenko

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.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Applied to pxa/for-next branch, thanks.

Can't find either in linux-next, or in your tree on Github. Am I looking at wrong locations?

My server on github was not synchronized, it is now :0 My next pull request is around -rc5.

Cheers.

Signature · 1 line
Robert