diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-09 17:51:30 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-05-10 14:39:34 -0700 |
commit | c3f6f8612bdab5959950a58291bd61d1d42d996b (patch) | |
tree | 05312fe544d46f3b9edc25b12088e967b1f4de8e /drivers/irqchip/irq-ls-scfg-msi.c | |
parent | 63c9576544718a949460865588981b70bb717020 (diff) |
Input: switch to using sizeof(*type) when allocating memory
Instead of specifying type explicitly, derive it from the type of pointer
when allocating memory, which is considered safer practice.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/irqchip/irq-ls-scfg-msi.c')
0 files changed, 0 insertions, 0 deletions