Re: [PATCH 2.6.24-rc5-mm 3/3] gpiolib: obsolete drivers/i2c/chips/pca9539.c

From: David Brownell
Date: Sun Dec 23 2007 - 13:32:25 EST



> From: eric miao <eric.miao@xxxxxxxxxxx>
> Date: Wed, 19 Dec 2007 16:40:04 +0800
> Subject: [PATCH] gpiolib: mark drivers/i2c/chips/pca9539.c as deprecated
>
> use drivers/gpio/pca9539.c instead.
>
> Signed-off-by: eric miao <eric.miao@xxxxxxxxxxx>
> Acked-by: Ben Gardner <bgardner@xxxxxxxxxx>
> Acked-by: Jean Delvare <khali@xxxxxxxxxxxx>
> ---
> Documentation/i2c/chips/pca9539 | 3 +++
> drivers/i2c/chips/Kconfig | 7 +++++--
> 2 files changed, 8 insertions(+), 2 deletions(-)

Yeah, this version looks unlikely to break anyone's systems.


> @@ -75,6 +75,9 @@ config SENSORS_PCA9539
> This driver can also be built as a module. If so, the module
> will be called pca9539.
>
> + This driver is deprecated and will be dropped soon. Use
> + drivers/gpio/pca9539.c instead.
> +
> config SENSORS_PCF8591
> tristate "Philips PCF8591"
> depends on EXPERIMENTAL
>

I suggest defining a date, such as "will be removed in the 2.6.26
kernel", and adding it to Documentation/feature-removal-schedule.txt ...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/