Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757434Ab3ETRKA (ORCPT ); Mon, 20 May 2013 13:10:00 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:52892 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755782Ab3ETRJ5 (ORCPT ); Mon, 20 May 2013 13:09:57 -0400 MIME-Version: 1.0 In-Reply-To: <1369031689-23189-1-git-send-email-ch.naveen@samsung.com> References: <1369031689-23189-1-git-send-email-ch.naveen@samsung.com> Date: Mon, 20 May 2013 10:09:55 -0700 X-Google-Sender-Auth: Y6alZ14APWTHQZ9BWLChN-iZuCU Message-ID: Subject: Re: [PATCH] iio: exynos_adc: fix wrong structure extration in suspend and resume From: Doug Anderson To: Naveen Krishna Chatradhi Cc: linux-iio , "linux-kernel@vger.kernel.org" , linux-samsung-soc , Greg Kroah-Hartman , Naveen Krishna , Lars-Peter Clausen Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 861 Lines: 23 Naveen, On Sun, May 19, 2013 at 11:34 PM, Naveen Krishna Chatradhi wrote: > The exynos_adc device structure was wrongly extracted from the dev* > correcting the same. > > Using the regular conversion of > struct device* -> struct platform_device* -> struct exynos_adc* seems wrong. > Instead we should be doing > struct device* -> struct iio_dev* -> struct exynos_adc* > > Signed-off-by: Naveen Krishna Chatradhi > --- > drivers/iio/adc/exynos_adc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Reviewed-by: Doug Anderson -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/