]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/c2port.h: remove wrong and never used macros
authorWanlong Gao <wanlong.gao@gmail.com>
Wed, 25 May 2011 00:13:06 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:43 +0000 (08:39 -0700)
commit3576a52077a14ce2aaf4257ca21bdb807292a025
tree8034db0a62cdbf44e143ac7fbae6cf0adc415853
parentf29949eae437314f7fc6b5c9002944d5edfb4c09
include/linux/c2port.h: remove wrong and never used macros

The macro to_class_dev() uses the deprecated structure class_device, and
the c2port_device has no member named class in the definition of the macro
to_c2port_device.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Cc: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/c2port.h