From: Jaehyoung Choi Date: Thu, 3 May 2018 12:05:23 +0000 (+0900) Subject: [HACK] disalbe chip-id driver function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5319ec7d40f941588c8f7046d2a033349502c464;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [HACK] disalbe chip-id driver function Change-Id: I101b88152dd0c3ee0deb91abc4382e5b97d51953 Signed-off-by: Jaehyoung Choi --- diff --git a/drivers/soc/samsung/exynos-chipid.c b/drivers/soc/samsung/exynos-chipid.c index cb2c50c08760..04cfc88d06a5 100644 --- a/drivers/soc/samsung/exynos-chipid.c +++ b/drivers/soc/samsung/exynos-chipid.c @@ -131,7 +131,7 @@ static int __init exynos_chipid_probe(struct platform_device *pdev) struct device_node *root; int ret; - exynos_chipid_early_init(&pdev->dev); +// exynos_chipid_early_init(&pdev->dev); soc_dev_attr = kzalloc(sizeof(*soc_dev_attr), GFP_KERNEL); if (!soc_dev_attr) @@ -152,11 +152,11 @@ static int __init exynos_chipid_probe(struct platform_device *pdev) soc_dev_attr->soc_id = product_id_to_name(exynos_soc_info.product_id); - soc_dev = soc_device_register(soc_dev_attr); +// soc_dev = soc_device_register(soc_dev_attr); if (IS_ERR(soc_dev)) goto free_rev; - soc_device_to_device(soc_dev); +// soc_device_to_device(soc_dev); dev_info(&pdev->dev, "Exynos: CPU[%s] CPU_REV[0x%x] Detected\n", product_id_to_name(exynos_soc_info.product_id),