diff options
| author | Wei Yongjun <[email protected]> | 2015-04-16 12:17:46 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-04-17 13:21:04 +0000 |
| commit | 427ced4b203dfea4f08b1298cd1f88e19039fca4 (patch) | |
| tree | 26d256aca95ffc489b1246e2104366d8cff255a3 /net/switchdev/switchdev.c | |
| parent | Linux 4.0-rc1 (diff) | |
| download | kernel-427ced4b203dfea4f08b1298cd1f88e19039fca4.tar.gz kernel-427ced4b203dfea4f08b1298cd1f88e19039fca4.zip | |
ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()
In case of error, the function devm_kzalloc() returns NULL
not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Peter Rosin <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
