[PATCH] i2c: brcmstb: allocate correct amount of memory for regmap
From: kamal.dasu@broadcom.com (Kamal Dasu)
Date: 2016-02-25 20:08:03
Also in:
linux-i2c
From: kamal.dasu@broadcom.com (Kamal Dasu)
Date: 2016-02-25 20:08:03
Also in:
linux-i2c
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.
Thanks for catching and fixing this.
Signed-off-by: Wolfram Sang <redacted>
Reviewed-by: Kamal Dasu <redacted> Kamal