Skip to content

Commit 6938dd2

Browse files
H Hartley Sweetengregkh
authored andcommitted
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 052c198 commit 6938dd2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

drivers/staging/comedi/drivers/rti802.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ Configuration Options:
3535
#include <linux/module.h>
3636
#include "../comedidev.h"
3737

38-
#define RTI802_SELECT 0
39-
#define RTI802_DATALOW 1
40-
#define RTI802_DATAHIGH 2
38+
/*
39+
* Register I/O map
40+
*/
41+
#define RTI802_SELECT 0x00
42+
#define RTI802_DATALOW 0x01
43+
#define RTI802_DATAHIGH 0x02
4144

4245
struct rti802_private {
4346
enum {

0 commit comments

Comments
 (0)