* [PATCH] media: rc-map: Sort rc map name MACROs
@ 2019-08-30 7:33 Jisheng Zhang
2019-10-01 9:09 ` Sean Young
0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2019-08-30 7:33 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: linux-media, linux-kernel, Benson Gui
Except RC_MAP_SU3000 and RC_MAP_HAUPPAUGE, others are alphabetically
sorted. Sort names alphabetically.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
include/media/rc-map.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index bebd3c4c6338..af71b08be9f2 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -215,6 +215,7 @@ struct rc_map *rc_map_get(const char *name);
#define RC_MAP_GENIUS_TVGO_A11MCE "rc-genius-tvgo-a11mce"
#define RC_MAP_GOTVIEW7135 "rc-gotview7135"
#define RC_MAP_HAUPPAUGE_NEW "rc-hauppauge"
+#define RC_MAP_HAUPPAUGE "rc-hauppauge"
#define RC_MAP_HISI_POPLAR "rc-hisi-poplar"
#define RC_MAP_HISI_TV_DEMO "rc-hisi-tv-demo"
#define RC_MAP_IMON_MCE "rc-imon-mce"
@@ -253,13 +254,13 @@ struct rc_map *rc_map_get(const char *name);
#define RC_MAP_PROTEUS_2309 "rc-proteus-2309"
#define RC_MAP_PURPLETV "rc-purpletv"
#define RC_MAP_PV951 "rc-pv951"
-#define RC_MAP_HAUPPAUGE "rc-hauppauge"
#define RC_MAP_RC5_TV "rc-rc5-tv"
#define RC_MAP_RC6_MCE "rc-rc6-mce"
#define RC_MAP_REAL_AUDIO_220_32_KEYS "rc-real-audio-220-32-keys"
#define RC_MAP_REDDO "rc-reddo"
#define RC_MAP_SNAPSTREAM_FIREFLY "rc-snapstream-firefly"
#define RC_MAP_STREAMZAP "rc-streamzap"
+#define RC_MAP_SU3000 "rc-su3000"
#define RC_MAP_TANGO "rc-tango"
#define RC_MAP_TBS_NEC "rc-tbs-nec"
#define RC_MAP_TECHNISAT_TS35 "rc-technisat-ts35"
@@ -282,7 +283,6 @@ struct rc_map *rc_map_get(const char *name);
#define RC_MAP_VIDEOMATE_TV_PVR "rc-videomate-tv-pvr"
#define RC_MAP_WINFAST "rc-winfast"
#define RC_MAP_WINFAST_USBII_DELUXE "rc-winfast-usbii-deluxe"
-#define RC_MAP_SU3000 "rc-su3000"
#define RC_MAP_XBOX_DVD "rc-xbox-dvd"
#define RC_MAP_ZX_IRDEC "rc-zx-irdec"
--
2.23.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] media: rc-map: Sort rc map name MACROs
2019-08-30 7:33 [PATCH] media: rc-map: Sort rc map name MACROs Jisheng Zhang
@ 2019-10-01 9:09 ` Sean Young
0 siblings, 0 replies; 2+ messages in thread
From: Sean Young @ 2019-10-01 9:09 UTC (permalink / raw)
To: Jisheng Zhang; +Cc: Mauro Carvalho Chehab, linux-media, Benson Gui
Hello,
On Fri, Aug 30, 2019 at 07:33:08AM +0000, Jisheng Zhang wrote:
> Except RC_MAP_SU3000 and RC_MAP_HAUPPAUGE, others are alphabetically
> sorted. Sort names alphabetically.
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
> ---
> include/media/rc-map.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/media/rc-map.h b/include/media/rc-map.h
> index bebd3c4c6338..af71b08be9f2 100644
> --- a/include/media/rc-map.h
> +++ b/include/media/rc-map.h
> @@ -215,6 +215,7 @@ struct rc_map *rc_map_get(const char *name);
> #define RC_MAP_GENIUS_TVGO_A11MCE "rc-genius-tvgo-a11mce"
> #define RC_MAP_GOTVIEW7135 "rc-gotview7135"
> #define RC_MAP_HAUPPAUGE_NEW "rc-hauppauge"
> +#define RC_MAP_HAUPPAUGE "rc-hauppauge"
> #define RC_MAP_HISI_POPLAR "rc-hisi-poplar"
> #define RC_MAP_HISI_TV_DEMO "rc-hisi-tv-demo"
> #define RC_MAP_IMON_MCE "rc-imon-mce"
> @@ -253,13 +254,13 @@ struct rc_map *rc_map_get(const char *name);
> #define RC_MAP_PROTEUS_2309 "rc-proteus-2309"
> #define RC_MAP_PURPLETV "rc-purpletv"
> #define RC_MAP_PV951 "rc-pv951"
> -#define RC_MAP_HAUPPAUGE "rc-hauppauge"
> #define RC_MAP_RC5_TV "rc-rc5-tv"
> #define RC_MAP_RC6_MCE "rc-rc6-mce"
> #define RC_MAP_REAL_AUDIO_220_32_KEYS "rc-real-audio-220-32-keys"
> #define RC_MAP_REDDO "rc-reddo"
> #define RC_MAP_SNAPSTREAM_FIREFLY "rc-snapstream-firefly"
> #define RC_MAP_STREAMZAP "rc-streamzap"
> +#define RC_MAP_SU3000 "rc-su3000"
> #define RC_MAP_TANGO "rc-tango"
> #define RC_MAP_TBS_NEC "rc-tbs-nec"
> #define RC_MAP_TECHNISAT_TS35 "rc-technisat-ts35"
> @@ -282,7 +283,6 @@ struct rc_map *rc_map_get(const char *name);
> #define RC_MAP_VIDEOMATE_TV_PVR "rc-videomate-tv-pvr"
> #define RC_MAP_WINFAST "rc-winfast"
> #define RC_MAP_WINFAST_USBII_DELUXE "rc-winfast-usbii-deluxe"
> -#define RC_MAP_SU3000 "rc-su3000"
> #define RC_MAP_XBOX_DVD "rc-xbox-dvd"
> #define RC_MAP_ZX_IRDEC "rc-zx-irdec"
I'm afraid this doesn't make the list sorted. RC_MAP_X96MAX sorts before
RC_MAP_XBOX_DVD and RC_MAP_PIXELVIEW before RC_MAP_PIXELVIEW_NEW.
Thanks,
Sean
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-01 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-30 7:33 [PATCH] media: rc-map: Sort rc map name MACROs Jisheng Zhang
2019-10-01 9:09 ` Sean Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).