From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.free-electrons.com (down.free-electrons.com. [37.187.137.238]) by gmr-mx.google.com with ESMTP id q64si838631wmg.0.2016.01.20.15.20.00 for ; Wed, 20 Jan 2016 15:20:00 -0800 (PST) Date: Thu, 21 Jan 2016 00:19:59 +0100 From: Alexandre Belloni To: Geliang Tang Cc: Alessandro Zummo , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [rtc-linux] Re: [PATCH] rtc: ds1305: use to_spi_device and kobj_to_dev Message-ID: <20160120231959.GD3367@piout.net> References: <69d9b6de4c0a2c10544f9982bce92d3132bf6d21.1450875144.git.geliangtang@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 In-Reply-To: <69d9b6de4c0a2c10544f9982bce92d3132bf6d21.1450875144.git.geliangtang@163.com> Reply-To: rtc-linux@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , 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 > --- > 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 -- -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.