From patchwork Wed Feb 6 21:35:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 16679 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1U3Cf1-0004oT-Vi; Wed, 06 Feb 2013 22:36:07 +0100 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-3) with esmtp id 1U3Cf1-00053k-E2; Wed, 06 Feb 2013 22:36:07 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758693Ab3BFVgB (ORCPT + 1 other); Wed, 6 Feb 2013 16:36:01 -0500 Received: from mail-ea0-f176.google.com ([209.85.215.176]:55850 "EHLO mail-ea0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758539Ab3BFVf7 (ORCPT ); Wed, 6 Feb 2013 16:35:59 -0500 Received: by mail-ea0-f176.google.com with SMTP id a13so876163eaa.21 for ; Wed, 06 Feb 2013 13:35:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=hEhfb/PWEnQ3o+47y3S+WNO+2VRCK8AG4NGawZuxSOQ=; b=mNiBUw7sxGA9vARlImM8jAhT6uPo50T4oZaykdgbc24WqpfMlx1upA1WFGeqynSQ/a tuV1+Wyvyi21WghGhQdDoT87sU+ykp5rzJ7rU6kfiK1l5u5EKfk/ePwU+KnfGSzOEkQ4 pOJAKbxQFP5lgdpDvWCdrID2FFGdI83XMQv1KVzA+vdR2IUctZZiTuiBKwthZL79Ie4J HoGYmOfvchakN9XcFH6kDwuTiXyoAhx9VnuU08Hvzg6Dqy0JwVx6aDH6n/GZHQAgTrxd 1hlECM1HfQ5wYHD/nSyOHWHwG0E+1i1DK0FGED6wWcu6OgiXqLBvDM8XstkEBaDEfMia STPg== X-Received: by 10.14.214.67 with SMTP id b43mr102008788eep.33.1360186557488; Wed, 06 Feb 2013 13:35:57 -0800 (PST) Received: from localhost.localdomain (093105185086.warszawa.vectranet.pl. [93.105.185.86]) by mx.google.com with ESMTPS id o3sm38890616eem.15.2013.02.06.13.35.54 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 13:35:55 -0800 (PST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org, hverkuil@xs4all.nl Cc: a.hajda@samsung.com, Sylwester Nawrocki Subject: [PATCH] s5c73m3: Remove __dev* attributes Date: Wed, 6 Feb 2013 22:35:41 +0100 Message-Id: <1360186541-2225-1-git-send-email-sylvester.nawrocki@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <201302062139.47875.hverkuil@xs4all.nl> References: <201302062139.47875.hverkuil@xs4all.nl> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.2.6.212414 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' FORGED_FROM_GMAIL 0.1, MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DKIM_SIGNATURE 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __FRAUD_BODY_WEBMAIL 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HAS_X_MAILING_LIST 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __PHISH_SPEAR_STRUCTURE_1 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NO_WWW 0, __URI_NS , __YOUTUBE_RCVD 0' Remove no longer supported __devinit, __devexit attributes. Signed-off-by: Sylwester Nawrocki --- Hi Hans, I've noticed this last night, prepared a patch but forgot to send it out today :/ Here is the one with a relevant summary line, I don't want a patch with "[,FOR,V3.9]" in it applied.. Thanks, Sylwester drivers/media/i2c/s5c73m3/s5c73m3-core.c | 8 ++++---- drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c index c143c9e..5dbb65e 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c @@ -1561,8 +1561,8 @@ static int s5c73m3_configure_gpios(struct s5c73m3 *state, return 0; } -static int __devinit s5c73m3_probe(struct i2c_client *client, - const struct i2c_device_id *id) +static int s5c73m3_probe(struct i2c_client *client, + const struct i2c_device_id *id) { struct device *dev = &client->dev; const struct s5c73m3_platform_data *pdata = client->dev.platform_data; @@ -1666,7 +1666,7 @@ out_err1: return ret; } -static int __devexit s5c73m3_remove(struct i2c_client *client) +static int s5c73m3_remove(struct i2c_client *client) { struct v4l2_subdev *sd = i2c_get_clientdata(client); struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); @@ -1693,7 +1693,7 @@ static struct i2c_driver s5c73m3_i2c_driver = { .name = DRIVER_NAME, }, .probe = s5c73m3_probe, - .remove = __devexit_p(s5c73m3_remove), + .remove = s5c73m3_remove, .id_table = s5c73m3_id, }; diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c index 889139c..6f3a9c0 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-spi.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-spi.c @@ -111,7 +111,7 @@ int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, return 0; } -static int __devinit s5c73m3_spi_probe(struct spi_device *spi) +static int s5c73m3_spi_probe(struct spi_device *spi) { int r; struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3, @@ -132,7 +132,7 @@ static int __devinit s5c73m3_spi_probe(struct spi_device *spi) return 0; } -static int __devexit s5c73m3_spi_remove(struct spi_device *spi) +static int s5c73m3_spi_remove(struct spi_device *spi) { return 0; } @@ -141,7 +141,7 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state) { struct spi_driver *spidrv = &state->spidrv; - spidrv->remove = __devexit_p(s5c73m3_spi_remove); + spidrv->remove = s5c73m3_spi_remove; spidrv->probe = s5c73m3_spi_probe; spidrv->driver.name = S5C73M3_SPI_DRV_NAME; spidrv->driver.bus = &spi_bus_type;