eeprom: at24: Use xasprintf for small allocation
The code for error checking shouldn't be bigger than the allocated
string.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3b393a4 commit 992794d0d44cbe6c416972d9f75f9ca833fcbf87
@Sascha Hauer Sascha Hauer authored on 28 Jun 2016
Showing 1 changed file
View
drivers/eeprom/at24.c