[PATCH 7/8] stating: ti-soc-thermal: use sizeof(*pointer) while allocating

2013-03-18 Thread Eduardo Valentin
Follow Documentation/CodingStyle and use sizeof(*pointer) instead of sizeof(struct type). Signed-off-by: Eduardo Valentin diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c b/drivers/staging/ti-soc-thermal/ti-bandgap.c index b74e847..4382c0c 100644 ---

[PATCH 7/8] stating: ti-soc-thermal: use sizeof(*pointer) while allocating

2013-03-18 Thread Eduardo Valentin
Follow Documentation/CodingStyle and use sizeof(*pointer) instead of sizeof(struct type). Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com diff --git a/drivers/staging/ti-soc-thermal/ti-bandgap.c b/drivers/staging/ti-soc-thermal/ti-bandgap.c index b74e847..4382c0c 100644 ---