Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932441Ab3E1Xyf (ORCPT ); Tue, 28 May 2013 19:54:35 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:61253 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932080Ab3E1Xyd (ORCPT ); Tue, 28 May 2013 19:54:33 -0400 X-AuditID: cbfee68e-b7f276d000002279-fd-51a543b73409 From: Jingoo Han To: "'Herbert Xu'" Cc: linux-kernel@vger.kernel.org, "'Matt Mackall'" , "'Deepak Saxena'" , Jingoo Han References: <002801ce57a0$1f004ba0$5d00e2e0$@samsung.com> <20130528091615.GB24414@gondor.apana.org.au> In-reply-to: <20130528091615.GB24414@gondor.apana.org.au> Subject: Re: [PATCH] hwrng: use platform_{get,set}_drvdata() Date: Wed, 29 May 2013 08:54:30 +0900 Message-id: <001401ce5bfe$b23c9a60$16b5cf20$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQJu93ei87CZ15IdEX315rmkuWQPxQLN3/LGl8OetpA= Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t8zY93tzksDDT7sEbRon/yNyaL7lYzF 5YWXWC0u75rDZrFgWx+jA6vHtgOqHo9bWpk9+rasYvToe7mB0ePzJrkA1igum5TUnMyy1CJ9 uwSujLVLXjIVPGKrmHluPnsD4yrWLkYODgkBE4k3f8u7GDmBTDGJC/fWs3UxcnEICSxjlNhx tIkFImEisfjiciaIxHRGie7X25khnF+MErv2zGMFqWITUJP48uUwO4gtIqAn0be+kRGkiFmg l1Hi0oz7YEVCAhkSW9f1sYGs5hSwlJj+sRokLCxgI9G2YDtYL4uAqsTUjqlgm3mBSs6fP80O YQtK/Jh8DyzOLKAlsX7ncSYIW15i85q3zBCXKkjsOPuaEeIGK4ktS14yQ9SISOx78Q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NDkfmKLySuINjU3MjCyNzCyMTMzNSRNWEuc90GodKCSQnliSmp2aWpBaBLOFiYNTqoGR zej2g/NiD5NnWS7/yzh7+sVshbajh0X6LXkN4xtlOwyPdNVEr8s/YfPu0rI3haHBawRbtjd1 ztmvxvF/6e3841+TFy4+M6/f1v/ytmmq1x/8jNK/GJnna9O1pk5DpJN70bJstU+37CSW7+d5 cEYye/UZc1XPPzPPmyqzRd/gPJU3Q/rgQjF9JZbijERDLeai4kQAJUKe8kcDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1083 Lines: 33 On Tuesday, May 28, 2013 6:16 PM, Herbert Xu wrote: > On Thu, May 23, 2013 at 07:27:26PM +0900, Jingoo Han 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. > > > > Also, unnecessary dev_set_drvdata() is removed, because the driver core > > clears the driver data to NULL after device_release or on probe failure. > > > > Signed-off-by: Jingoo Han > > Sorry but this patch doesn't apply against the current cryptodev > tree. If you are basing your patch on another tree, please submit > the patch there. Hi Herbert Xu, I will make the patch based on your "cryptodev" tree, and will send it, soon. :) Best regards, Jingoo Han > > Thanks, > -- -- 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/