From patchwork Mon Oct 6 15:14:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 5038051 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AFF55C11AB for ; Mon, 6 Oct 2014 15:14:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EF6042015A for ; Mon, 6 Oct 2014 15:14:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 1C5342010F for ; Mon, 6 Oct 2014 15:14:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id DB4AA260647; Mon, 6 Oct 2014 17:14:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY, URIBL_RHS_DOB autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id D7694260579; Mon, 6 Oct 2014 17:14:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0CC7C260602; Mon, 6 Oct 2014 17:14:40 +0200 (CEST) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by alsa0.perex.cz (Postfix) with ESMTP id BA289260579 for ; Mon, 6 Oct 2014 17:14:31 +0200 (CEST) Received: by mail-pa0-f49.google.com with SMTP id hz1so5419285pad.36 for ; Mon, 06 Oct 2014 08:14:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=dPz0GpwCBUcS2H2ULGbugg1dPDf/Be4timtwRxdrDJI=; b=bjHMY6Yaglg9t2x7QC+nBYl6HzFPIEvfHlxLBuwTT2wcb4VoNtgWQ8GOrdFYhWKYDY byYwmXVhnWTgebaguWfyggrFOmDM1XNTs11Bw64mtvRLm0VaG+qt5GuzG7JtyQbVlnJM fap6qScTbcTsjrGhqegA1fu4jms+NyeHUcQKmNYHQquXgnPde3SNqWskZZlNduDhh9d/ 4coO26lbHAM2SWZNO188THO32OqMTDWzoaTqj8VSVwz8BdBlTx8izKqkI9Fuoi8811KE y5LvEVZMw0COtEWLNUjsIbdNez9GK4tRR0bdcNny9R+6XGSdRumYxUdvF9/p3gAHD/ms R8YA== X-Gm-Message-State: ALoCoQmPAo944EvVfYtDzdQGlQZz7bBhdyvHvva0SP4MvGBYqsHuUtK3YWURqwTDXNEGKtAlDikS X-Received: by 10.68.112.193 with SMTP id is1mr25391299pbb.35.1412608467425; Mon, 06 Oct 2014 08:14:27 -0700 (PDT) Received: from [192.168.0.105] (218-164-131-125.dynamic.hinet.net. [218.164.131.125]) by mx.google.com with ESMTPSA id ke5sm13826097pad.34.2014.10.06.08.14.25 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 06 Oct 2014 08:14:26 -0700 (PDT) Message-ID: <1412608463.4950.7.camel@phoenix> From: Axel Lin To: Mark Brown Date: Mon, 06 Oct 2014 23:14:23 +0800 X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Cc: Brian Austin , "alsa-devel@alsa-project.org" , Liam Girdwood , Paul Handrigan Subject: [alsa-devel] [PATCH] ASoC: cs4265: Remove unused *dev field from struct cs4265_private X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Axel Lin Signed-off-by: Paul Handrigan --- sound/soc/codecs/cs4265.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/cs4265.c b/sound/soc/codecs/cs4265.c index 4fdd47d..ce60868 100644 --- a/sound/soc/codecs/cs4265.c +++ b/sound/soc/codecs/cs4265.c @@ -32,7 +32,6 @@ #include "cs4265.h" struct cs4265_private { - struct device *dev; struct regmap *regmap; struct gpio_desc *reset_gpio; u8 format; @@ -598,7 +597,6 @@ static int cs4265_i2c_probe(struct i2c_client *i2c_client, GFP_KERNEL); if (cs4265 == NULL) return -ENOMEM; - cs4265->dev = &i2c_client->dev; cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap); if (IS_ERR(cs4265->regmap)) {