Re: [RFC] Documentation: zh_CN: convert to use i2c_new_client_device()

From: Alex Shi
Date: Sat Apr 25 2020 - 10:28:25 EST




å 2020/4/25 äå6:06, Wolfram Sang åé:
> Move away from the deprecated API and advertise the new one.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
>
> I can't read Chinese. But given the context, I think just updating to
> the new function name is enough. Please let me know if not. Thanks!

It looks good. Thanks!

Reviewed-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>

>
> Documentation/translations/zh_CN/video4linux/v4l2-framework.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/translations/zh_CN/video4linux/v4l2-framework.txt b/Documentation/translations/zh_CN/video4linux/v4l2-framework.txt
> index 4d2af480a112..a88fcbc11eca 100644
> --- a/Documentation/translations/zh_CN/video4linux/v4l2-framework.txt
> +++ b/Documentation/translations/zh_CN/video4linux/v4l2-framework.txt
> @@ -488,7 +488,7 @@ struct v4l2_subdev *sd = v4l2_i2c_new_subdev(v4l2_dev, adapter,
>
> èäåæäåèçåçæåïåææææåéèåèïåää NULLïï
> åççåç i2c ééåçæäæéïi2c_adapterïå åäååïchip/addressï
> -ääåæèç i2c_new_device()ãåæäåéåïååå v4l2_device
> +ääåæèç i2c_new_client_device()ãåæäåéåïååå v4l2_device
> äæåäåèåã
>
> ääåäåç v4l2_i2c_new_subdev()çæåääåæïäéääåèç
>