pktcdvd: convert ZONE macro to static function get_zone()
authorJoe Perches <joe@perches.com>
Wed, 11 Sep 2013 21:25:51 +0000 (14:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:30 +0000 (15:59 -0700)
commit5323fb770b6254a4c218a2dfb0ef9aa007b7725a
tree97a385ac489ce3302d5f0d1f84995f9b05659c26
parent6723734cdff15211bb78aeea76ca847374bd93ae
pktcdvd: convert ZONE macro to static function get_zone()

Macros should be converted to functions where feasible to
verify arguments and the like.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/pktcdvd.c