From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754357Ab0EPSTF (ORCPT ); Sun, 16 May 2010 14:19:05 -0400 Received: from mout6.freenet.de ([195.4.92.96]:36225 "EHLO mout6.freenet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744Ab0EPSTD (ORCPT ); Sun, 16 May 2010 14:19:03 -0400 From: Sascha Sommer To: Matt Fleming Subject: Re: [PATCH] mmc: drop the "state" argument to mmc_suspend_host() Date: Sun, 16 May 2010 20:20:18 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-default; KDE/4.3.5; i686; ; ) Cc: Andrew Morton , Kevin Hilman , linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Nicolas Ferre , Manuel Lauss , Cliff Cai , =?utf-8?q?Micha=C5=82_Miros=C5=82aw?= , Pavel Pisa , David Brown , Daniel Walker , Bryan Huntsman , Jarkko Lavinen , Madhusudhan Chikkature , Ben Dooks , Anton Vorontsov , Alex Dubov , Ian Molton , Joseph Chan , Harald Welte , Pierre Ossman References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201005162020.18511.saschasommer@freenet.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Donnerstag 13 Mai 2010 21:01:45 schrieb Matt Fleming: > Even though many mmc host drivers pass a pm_message_t argument to > mmc_suspend_host() that argument isn't used the by MMC core. As host > drivers are converted to dev_pm_ops they'll have to construct > pm_message_t's (as they won't be passed by the PM subsystem any more) > just to appease the mmc suspend interface. > > We might as well just delete the unused paramter. > > Signed-off-by: Matt Fleming Acked-by: Sascha Sommer (for sdricoh_cs) Regards Sascha