diff options
| author | Andy Shevchenko <[email protected]> | 2022-09-29 09:42:15 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2022-10-01 22:43:11 +0000 |
| commit | fe682780d5cdf7b3932c6a1c669db8fc344f7e17 (patch) | |
| tree | c7d1f1843f63d38c66f2c4ac19b1ce38f278e5d6 /lib/fault-inject.c | |
| parent | i2c: designware-pci: Group AMD NAVI quirk parts together (diff) | |
| download | kernel-fe682780d5cdf7b3932c6a1c669db8fc344f7e17.tar.gz kernel-fe682780d5cdf7b3932c6a1c669db8fc344f7e17.zip | |
i2c: designware-pci: Use standard pattern for memory allocation
The pattern
foo = kmalloc(sizeof(*foo), GFP_KERNEL);
has an advantage when foo type is changed. Since we are planning a such,
better to be prepared by using standard pattern for memory allocation.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
