Re: [PATCH 2/2] pinctrl: adi2: Improve a size determination in two functions

From: Linus Walleij
Date: Thu Dec 21 2017 - 04:23:15 EST


On Wed, Dec 20, 2017 at 1:02 PM, SF Markus Elfring
<elfring@xxxxxxxxxxxxxxxxxxxxx> wrote:

> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Wed, 20 Dec 2017 12:38:53 +0100
>
> Replace the specification of data structures by variable references
> as the parameter for the operator "sizeof" to make the corresponding size
> determination a bit safer according to the Linux coding style convention.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij