From: H Hartley Sweeten Date: Thu, 13 Mar 2014 22:48:41 +0000 (-0700) Subject: staging: comedi: rti802: tidy up the register map defines X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6938dd289d667e2fc50ae05f37580b9ae8a36c9f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: rti802: tidy up the register map defines For aesthetics, add some whitespace to the register map defines and convert the offsets to hex. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/rti802.c b/drivers/staging/comedi/drivers/rti802.c index 96556575235a..6627196e1d89 100644 --- a/drivers/staging/comedi/drivers/rti802.c +++ b/drivers/staging/comedi/drivers/rti802.c @@ -35,9 +35,12 @@ Configuration Options: #include #include "../comedidev.h" -#define RTI802_SELECT 0 -#define RTI802_DATALOW 1 -#define RTI802_DATAHIGH 2 +/* + * Register I/O map + */ +#define RTI802_SELECT 0x00 +#define RTI802_DATALOW 0x01 +#define RTI802_DATAHIGH 0x02 struct rti802_private { enum {