Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PNP: Clean up coding style in pnp.h

Address the following checkpatch complaints:

ERROR: "foo * bar" should be "foo *bar"
ERROR: space required after that ';' (ctx:VxV)

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

GuoHua Cheng and committed by
Rafael J. Wysocki
eeb6d1d6 8a749fd1

+4 -4
+4 -4
include/linux/pnp.h
··· 291 291 292 292 struct pnp_fixup { 293 293 char id[7]; 294 - void (*quirk_function) (struct pnp_dev * dev); /* fixup function */ 294 + void (*quirk_function) (struct pnp_dev *dev); /* fixup function */ 295 295 }; 296 296 297 297 /* config parameters */ ··· 419 419 420 420 /* protocol specific suspend/resume */ 421 421 bool (*can_wakeup) (struct pnp_dev *dev); 422 - int (*suspend) (struct pnp_dev * dev, pm_message_t state); 423 - int (*resume) (struct pnp_dev * dev); 422 + int (*suspend) (struct pnp_dev *dev, pm_message_t state); 423 + int (*resume) (struct pnp_dev *dev); 424 424 425 425 /* used by pnp layer only (look but don't touch) */ 426 426 unsigned char number; /* protocol number */ ··· 492 492 static inline int pnp_stop_dev(struct pnp_dev *dev) { return -ENODEV; } 493 493 static inline int pnp_activate_dev(struct pnp_dev *dev) { return -ENODEV; } 494 494 static inline int pnp_disable_dev(struct pnp_dev *dev) { return -ENODEV; } 495 - static inline int pnp_range_reserved(resource_size_t start, resource_size_t end) { return 0;} 495 + static inline int pnp_range_reserved(resource_size_t start, resource_size_t end) { return 0; } 496 496 497 497 /* protocol helpers */ 498 498 static inline int pnp_is_active(struct pnp_dev *dev) { return 0; }