Loading drivers/thermal/qpnp-temp-alarm.c +1 −7 Original line number Diff line number Diff line /* * Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -403,12 +403,6 @@ static int qpnp_tm_probe(struct platform_device *pdev) int rc = 0; u8 raw_type[2], type, subtype; if (!pdev || !(&pdev->dev) || !pdev->dev.of_node) { dev_err(&pdev->dev, "%s: device tree node not found\n", __func__); return -EINVAL; } node = pdev->dev.of_node; chip = kzalloc(sizeof(struct qpnp_tm_chip), GFP_KERNEL); Loading Loading
drivers/thermal/qpnp-temp-alarm.c +1 −7 Original line number Diff line number Diff line /* * Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -403,12 +403,6 @@ static int qpnp_tm_probe(struct platform_device *pdev) int rc = 0; u8 raw_type[2], type, subtype; if (!pdev || !(&pdev->dev) || !pdev->dev.of_node) { dev_err(&pdev->dev, "%s: device tree node not found\n", __func__); return -EINVAL; } node = pdev->dev.of_node; chip = kzalloc(sizeof(struct qpnp_tm_chip), GFP_KERNEL); Loading