Skip to contentSkip to conversation

Misc: phantom, consistent whitespace

PATCH New jan sonnek 1 participant 1 message Feb 26, 2008

lore
Share & tools
lore

jan sonnek

author
#0 lore raw

PATCH 1/1 Misc: phantom, consistent whitespace

Make it consistent with the rest of the header.

---
 include/linux/phantom.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/linux/phantom.h +3 -3
index a341e21..02268c5 100644
@@ -27,13 +27,13 @@ struct phm_regs {
 
 #define PH_IOC_MAGIC		'p'
 #define PHN_GET_REG		_IOWR(PH_IOC_MAGIC, 0, struct phm_reg *)
-#define PHN_SET_REG		_IOW (PH_IOC_MAGIC, 1, struct phm_reg *)
+#define PHN_SET_REG		_IOW(PH_IOC_MAGIC, 1, struct phm_reg *)
 #define PHN_GET_REGS		_IOWR(PH_IOC_MAGIC, 2, struct phm_regs *)
-#define PHN_SET_REGS		_IOW (PH_IOC_MAGIC, 3, struct phm_regs *)
+#define PHN_SET_REGS		_IOW(PH_IOC_MAGIC, 3, struct phm_regs *)
 /* this ioctl tells the driver, that the caller is not OpenHaptics and might
  * use improved registers update (no more phantom switchoffs when using
  * libphantom) */
-#define PHN_NOT_OH		_IO  (PH_IOC_MAGIC, 4)
+#define PHN_NOT_OH		_IO(PH_IOC_MAGIC, 4)
 #define PHN_GETREG		_IOWR(PH_IOC_MAGIC, 5, struct phm_reg)
 #define PHN_SETREG		_IOW(PH_IOC_MAGIC, 6, struct phm_reg)
 #define PHN_GETREGS		_IOWR(PH_IOC_MAGIC, 7, struct phm_regs)
Signature · 1 line
1.5.4.1