staging: rtl8192e: use struct pointer to get the size of the struct
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>
Sat, 24 Feb 2018 21:46:33 +0000 (13:46 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Feb 2018 14:47:40 +0000 (15:47 +0100)
commit3294a9c58ac5f658b423cce78343b19dd1eee61d
treef713550d3ccac02859dce4ff765712a710bfc844
parent57352e12971e537ac641b0bf64709c958c6c7e78
staging: rtl8192e: use struct pointer to get the size of the struct

Use pointer to the structure to get the size of the structure in order
to conform to the Linux kernel coding style. Issue found using
checkpatch.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_wx.c