[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160120231959.GD3367@piout.net>
Date: Thu, 21 Jan 2016 00:19:59 +0100
From: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
To: Geliang Tang <geliangtang@....com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
rtc-linux@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: ds1305: use to_spi_device and kobj_to_dev
On 23/12/2015 at 20:54:33 +0800, Geliang Tang wrote :
> For better readability, use to_spi_device() and kobj_to_dev() instead
> of container_of().
>
> Signed-off-by: Geliang Tang <geliangtang@....com>
> ---
> drivers/rtc/rtc-ds1305.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Powered by blists - more mailing lists