diff options
| author | Michal Simek <[email protected]> | 2021-08-12 12:30:36 +0200 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2021-08-26 08:14:43 +0200 |
| commit | d9c93c9e2c53e5b624e79b9ba244f84b5c73544b (patch) | |
| tree | 6507255f0a054eb767d5f4efc92d75433883ccf9 /scripts/checkpatch.pl | |
| parent | 57f710320fcd18bb5deaa9654dbce4da4de9d987 (diff) | |
xilinx: common: Change board_info[] handling
Origin code was allocating only pointers to struct xilinx_board_description
and there was separate allocation for structure self and freeing in case of
failure.
The code is directly allocating space for all structures by one calloc to
simlify logic.
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
