From 0a5936885042a3eb6c71ad90eeef04a12be8069f Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Tue, 24 May 2011 17:13:06 -0700 Subject: [PATCH] --- yaml --- r: 250956 b: refs/heads/master c: 21b7d815b2cc380929181e1a4a7129e8b569e574 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/c2port.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 79d7e6e1ef06..df88432433c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0ac1ee0bfec2a4ad118f907ce586d0dfd8db7641 +refs/heads/master: 21b7d815b2cc380929181e1a4a7129e8b569e574 diff --git a/trunk/include/linux/c2port.h b/trunk/include/linux/c2port.h index 2a5cd867c365..a2f7d7413f30 100644 --- a/trunk/include/linux/c2port.h +++ b/trunk/include/linux/c2port.h @@ -60,9 +60,6 @@ struct c2port_ops { * Exported functions */ -#define to_class_dev(obj) container_of((obj), struct class_device, kobj) -#define to_c2port_device(obj) container_of((obj), struct c2port_device, class) - extern struct c2port_device *c2port_device_register(char *name, struct c2port_ops *ops, void *devdata); extern void c2port_device_unregister(struct c2port_device *dev);