From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] spi: spi-bcm63xx: Pass NULL to platform_set_drvdata Date: Thu, 16 Aug 2012 11:45:37 +0100 Message-ID: <20120816104536.GH15365@opensource.wolfsonmicro.com> References: <1345113878-9626-1-git-send-email-tklauser@distanz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Tobias Klauser Return-path: Content-Disposition: inline In-Reply-To: <1345113878-9626-1-git-send-email-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Thu, Aug 16, 2012 at 12:44:38PM +0200, Tobias Klauser wrote: > platform_set_drvdata expects a void *, so pass NULL instead of 0. > > Signed-off-by: Tobias Klauser Better yet, remove these calls - they're completely redundant. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/