]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
stating: ti-soc-thermal: use sizeof(*pointer) while allocating
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 19 Mar 2013 14:54:24 +0000 (10:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:28:31 +0000 (11:28 -0700)
commitf6843569defd08e7b80a9800f91d21e1abf6d9e3
tree1dac63495b3b91fdf834561ed3a004f90acfba9d
parent9879b2c46f432d6d805743d14a7456b6fae8ac7a
stating: ti-soc-thermal: use sizeof(*pointer) while allocating

Follow Documentation/CodingStyle and use sizeof(*pointer)
instead of sizeof(struct type).

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ti-soc-thermal/ti-bandgap.c