Commit b272c05
ACPI: sysfs: Unify pattern of memory allocations
Use the form of foo = kmalloc(sizeof(*foo)) everywhere in order to
unify pattern of memory allocations.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent d3121e6 commit b272c05
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | | - | |
| 392 | + | |
394 | 393 | | |
395 | 394 | | |
396 | 395 | | |
| |||
842 | 841 | | |
843 | 842 | | |
844 | 843 | | |
845 | | - | |
846 | | - | |
| 844 | + | |
847 | 845 | | |
848 | 846 | | |
849 | 847 | | |
850 | | - | |
851 | | - | |
| 848 | + | |
852 | 849 | | |
853 | 850 | | |
854 | 851 | | |
855 | 852 | | |
856 | 853 | | |
857 | 854 | | |
858 | 855 | | |
859 | | - | |
860 | | - | |
| 856 | + | |
861 | 857 | | |
862 | 858 | | |
863 | 859 | | |
| |||
0 commit comments