mei: use type struct mei_cl *cl instead of void in struct mei_cb
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 11 Nov 2012 15:37:59 +0000 (17:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Nov 2012 23:34:18 +0000 (15:34 -0800)
commitdb3ed43185c6f5d4fd6c5ac963347b849540996e
tree46690fbfd58c7d2da479865c7061f6c50b8d6d64
parente773efc405026bb8540c84bf45420bd66d5b34a7
mei: use type struct mei_cl *cl instead of void in struct mei_cb

We can use correct type 'struct mei_cl' instead of
'void *' for file_private in the struct mei_cb
as there is no other type assigned to this member of the structure

We rename the member from file_private to cl

Remove about 10 lines of declarations of temporary variables
used for type casting

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/init.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/iorw.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h