summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/hwmon-vid.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-26 15:55:24 +0300
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:07:25 -0400
commit31f007598cc547ba3239524470386af8ae5f1c13 (patch)
treee220633213d9a55c0380a2f0202b6467cdd37e06 /drivers/hwmon/hwmon-vid.c
parent7227dedbc22f66f1bd310c866053b08de0496e38 (diff)
sony-laptop: handle allocation failures
Return -ENOMEM if kzalloc() fails. The callers already handle error returns. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/hwmon/hwmon-vid.c')
0 files changed, 0 insertions, 0 deletions