diff options
author | Patrick Delaunay | 2018-03-12 10:46:09 +0100 |
---|---|---|
committer | Tom Rini | 2018-03-19 16:14:21 -0400 |
commit | 35746c0138c7a9900fb2678358904c10797a563a (patch) | |
tree | 12bead072fe275ace1e824e89f8d244e4fb1bf12 /drivers/serial | |
parent | f11c308ac20eb14eb7ce0c4a25987cb5462e017c (diff) |
stm32mp: stm32f7_i2c: use calloc instead of kmalloc
Kmalloc is using memalign allocation function. It is not necessary to
align this structure so to save bytes, we move to calloc.
And kmalloc function can't be used in SPL early stage (in board_init_f())
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions