cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros
authorJoe Perches <joe@perches.com>
Mon, 5 May 2014 00:05:04 +0000 (17:05 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 5 May 2014 20:58:05 +0000 (14:58 -0600)
commita09c391df309c846b7c49771526acd311ccbc93e
tree8d165d673635d8293dcecff87b72bc75e6a6b740
parente3b6b9ef61f41d0c79f7a1341679ad4b20d7e788
cdrom: Remove obfuscating IOCTL_IN and IOCTL_OUT macros

Macros with hidden control flow aren't nice.
Just use copy_to/from_user directly instead.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/cdrom/cdrom.c