All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Documentation: zh_CN: convert to use i2c_new_client_device()
@ 2020-04-25 10:06 Wolfram Sang
  2020-04-25 14:26 ` Alex Shi
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfram Sang @ 2020-04-25 10:06 UTC (permalink / raw)
  To: linux-doc
  Cc: Wolfram Sang, Harry Wei, Alex Shi, Jonathan Corbet, linux-kernel

Move away from the deprecated API and advertise the new one.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

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!

 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()的最后一个参数,传递一个可能的
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [RFC] Documentation: zh_CN: convert to use i2c_new_client_device()
  2020-04-25 10:06 [RFC] Documentation: zh_CN: convert to use i2c_new_client_device() Wolfram Sang
@ 2020-04-25 14:26 ` Alex Shi
  2020-04-28 18:34   ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Shi @ 2020-04-25 14:26 UTC (permalink / raw)
  To: Wolfram Sang, linux-doc; +Cc: Harry Wei, Jonathan Corbet, linux-kernel



在 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@sang-engineering.com>
> ---
> 
> 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@linux.alibaba.com>

> 
>  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()的最后一个参数,传递一个可能的
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC] Documentation: zh_CN: convert to use i2c_new_client_device()
  2020-04-25 14:26 ` Alex Shi
@ 2020-04-28 18:34   ` Jonathan Corbet
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2020-04-28 18:34 UTC (permalink / raw)
  To: Alex Shi; +Cc: Wolfram Sang, linux-doc, Harry Wei, linux-kernel

On Sat, 25 Apr 2020 22:26:57 +0800
Alex Shi <alex.shi@linux.alibaba.com> wrote:

> 在 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@sang-engineering.com>
> > ---
> > 
> > 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@linux.alibaba.com>

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-28 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25 10:06 [RFC] Documentation: zh_CN: convert to use i2c_new_client_device() Wolfram Sang
2020-04-25 14:26 ` Alex Shi
2020-04-28 18:34   ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.