summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_icside.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-23 14:12:11 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-09-24 12:40:30 +0300
commit4fd9ac6bd3044734a7028bd993944c3617d1eede (patch)
treef930ad3d1ca380ed13193aee4b3d30a728249ba4 /drivers/ata/pata_icside.c
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
downloadlinux-4fd9ac6bd3044734a7028bd993944c3617d1eede.tar.xz
Platform: OLPC: Fix memleak in olpc_ec_probe
When devm_regulator_register() fails, ec should be freed just like when olpc_ec_cmd() fails. Fixes: 231c0c216172a ("Platform: OLPC: Add a regulator for the DCON") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/ata/pata_icside.c')
0 files changed, 0 insertions, 0 deletions