Subject: [PATCH] i2c: brcmstb: allocate correct amount of memory for regmap

From: [email-masked] (Florian Fainelli)
Date: Mon, 22 Feb 2016 08:42:50 -0800

Le 21/02/2016 06:16, Wolfram Sang a ?crit :
> We want the size of the struct, not of a pointer to it. To be future
> proof, just dereference the pointer to get the desired type.
> 
> Signed-off-by: Wolfram Sang <[email-masked]>

Fixes: dd1aa2524bc5 ("i2c: brcmstb: Add Broadcom settop SoC i2c
controller driver")

Acked-by: Florian Fainelli <[email-masked]>

Thanks!
-- 
Florian