diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-09-17 08:28:05 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 23:06:17 +0530 |
commit | 71660223f50036e67a2a66cf55815fa665639d3a (patch) | |
tree | 52931bf361d7cff20d1ed1d063e46cb396691629 /drivers/nvdimm/e820.c | |
parent | abac5bac829cc9d8cf178344b4f34b2264927672 (diff) | |
download | linux-71660223f50036e67a2a66cf55815fa665639d3a.tar.bz2 |
ste_dma40: Improve a size determination in d40_of_probe()
Replace the specification of a data structure by a pointer dereference
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@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/nvdimm/e820.c')
0 files changed, 0 insertions, 0 deletions