Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754863Ab3HPRP1 (ORCPT ); Fri, 16 Aug 2013 13:15:27 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:48999 "EHLO mail-we0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753394Ab3HPRPY (ORCPT ); Fri, 16 Aug 2013 13:15:24 -0400 MIME-Version: 1.0 In-Reply-To: <520CD13E.7090802@huawei.com> References: <520CD13E.7090802@huawei.com> From: Prabhakar Lad Date: Fri, 16 Aug 2013 22:45:03 +0530 Message-ID: Subject: Re: [PATCH v3 7/7] net: davinci_mdio: use platform_{get,set}_drvdata() To: Libo Chen Cc: David Miller , Mugunthan V N , bigeasy@linutronix.de, b-liu@ti.com, netdev@vger.kernel.org, LKML , Li Zefan , Sergei Shtylyov 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: 660 Lines: 16 On Thu, Aug 15, 2013 at 6:31 PM, Libo Chen wrote: > Use the wrapper functions for getting and setting the driver data using > platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, > so we can directly pass a struct platform_device. > > Signed-off-by: Libo Chen Acked-by: Lad, Prabhakar Regards, --Prabhakar Lad -- 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/