media: exynos4-is: fimc-is-i2c: remove I2C_CLASS_SPD support
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 8 Nov 2023 06:42:37 +0000 (07:42 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 23 Nov 2023 12:59:59 +0000 (13:59 +0100)
This I2C bus is used by the firmware only and it seems I2C_CLASS_SPD
device auto-detection has never been used. So we can safely remove it.
That's one further step towards removing I2C_CLASS_SPD completely.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/samsung/exynos4-is/fimc-is-i2c.c

index bef6e9b4a25ea9e234a9114700fb2411947a0cb2..44363c4241d536a8161e3eb3d799b92977a416da 100644 (file)
@@ -57,7 +57,6 @@ static int fimc_is_i2c_probe(struct platform_device *pdev)
        strscpy(i2c_adap->name, "exynos4x12-isp-i2c", sizeof(i2c_adap->name));
        i2c_adap->owner = THIS_MODULE;
        i2c_adap->algo = &fimc_is_i2c_algorithm;
-       i2c_adap->class = I2C_CLASS_SPD;
 
        platform_set_drvdata(pdev, isp_i2c);
        pm_runtime_enable(&pdev->dev);