Staging: sep: rework write_register/read_register
authorAlan Cox <alan@linux.intel.com>
Thu, 6 Aug 2009 19:45:24 +0000 (20:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:12 +0000 (12:02 -0700)
commit79de99e864fb731392bec78f251ce0310fed5d9a
treebaab22d5f5dac0feaf578686fb0344dca9d344ce
parentf5e3980f9b28b703bc009af9dfa33ae2236503da
Staging: sep: rework write_register/read_register

Replace the macros with an inline to get type safety and pass sep_dev
instead of the reg pointer

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sep/sep_dev.h
drivers/staging/sep/sep_driver_config.h
drivers/staging/sep/sep_ext_with_pci_driver.c
drivers/staging/sep/sep_main_mod.c