Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2885880pxa; Tue, 18 Aug 2020 00:02:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvnaTfj+uSdXj703S1JoIx9Iz2LqgwLk3pDY1gyNxyEsH44tS1M2OEKcr21PtufoM+o65W X-Received: by 2002:a17:906:c1d8:: with SMTP id bw24mr18465782ejb.91.1597734168046; Tue, 18 Aug 2020 00:02:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597734168; cv=none; d=google.com; s=arc-20160816; b=xmjj4S4XiVSR64gBNlVxz8+rlt7YDB6vRckRCDRtS4V/koULtU+4xaIujDkmpCzdBj J9Gabsh/BPbGTMVUMKfaJltCY+VkGHNp1SmO+hKePnMNJNXSiSDXu7GSuWK7V2o4Azxb M0ViC94cs0DYNYVb01+XSF4RBklVJ0/kI0gmVewEU7p7Z7pEwR+Yv8DHuW/ph/8Zo+fm Ya92bZ01D9z5OypUmhpyK4t0FL0rmFUlx0k663fra6EWjW6np4GWYlFdqKQMW3s2T1TV H5yMnRY2RuY8p8Hm20JjgW/N36MfYhLOJGExniPzouSFco5OqjyuvdNy/AUzU2e1V6RF 7SLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr:ironport-sdr; bh=mPPSuQfJPmUgL/2bFVifi5Y7o92IQsxk3LpjqEHZCXg=; b=A5TirwpNAiClM+e5F/54WeyQO8vl6vZKzMTSvAS/NSjJ3WIEurvkPNxNsYYjnERE0D jOXc+zVuFbXCxDHdpZ45AnAukfEj5tDzJZez4TkNMXUJV1pvhxauf6KuhQjWAL1sKPqr F/pwIod4oE4YV+125+IDIbxf5JGFf23G94wY5FQ64aCQaYJ1Pylsb0e/G18C1d6N+c0h IAwklzn/wyH/W217FHUNjj46ZLJn2xzhtKC7wRohqxmR+ynuKYmJTzbiTcUA1aF7tP+M xHwC4sBT4Rsetc+zaVKWks1IYuZHZpl+Y1C8r5G3ltx+DV+wN5bc3dTiRZQKeZahKM5i e16g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id le18si11995660ejb.705.2020.08.18.00.02.24; Tue, 18 Aug 2020 00:02:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726741AbgHRG6H (ORCPT + 99 others); Tue, 18 Aug 2020 02:58:07 -0400 Received: from mga12.intel.com ([192.55.52.136]:12636 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726729AbgHRG6C (ORCPT ); Tue, 18 Aug 2020 02:58:02 -0400 IronPort-SDR: lPWyXNZqYwb/wtvvEv8Gyu1i3ZcG/qImMh/scQLxFdmeMVCQj1hvlsFIEYqygzWJRtaJ67ByoH 9JrTacfYppJA== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="134374151" X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="134374151" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2020 23:58:02 -0700 IronPort-SDR: txEqkumSuxTEbe4PvM2yp9gcYwZI6LjbRnDEKs8jmLADLdg38Votu2vS1eO53e9PzqTMRLmLkj 5DVDCuOmePXg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,326,1592895600"; d="scan'208";a="400414079" Received: from sgsxdev004.isng.intel.com (HELO localhost) ([10.226.88.13]) by fmsmga001.fm.intel.com with ESMTP; 17 Aug 2020 23:57:59 -0700 From: "Ramuthevar,Vadivel MuruganX" To: linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, cw00.choi@samsung.com Cc: andriy.shevchenko@intel.com, thomas.langer@intel.com, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, yin1.li@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH v1 9/9] extcon: extcon-ptn5150: Remove unused variable and extra space Date: Tue, 18 Aug 2020 14:57:27 +0800 Message-Id: <20200818065727.50520-10-vadivel.muruganx.ramuthevar@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200818065727.50520-1-vadivel.muruganx.ramuthevar@linux.intel.com> References: <20200818065727.50520-1-vadivel.muruganx.ramuthevar@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ramuthevar Vadivel Murugan Remove the unused variable and extra space. Signed-off-by: Ramuthevar Vadivel Murugan --- drivers/extcon/extcon-ptn5150.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/extcon/extcon-ptn5150.c b/drivers/extcon/extcon-ptn5150.c index 140994ac43ed..a7544ab058c0 100644 --- a/drivers/extcon/extcon-ptn5150.c +++ b/drivers/extcon/extcon-ptn5150.c @@ -50,7 +50,6 @@ enum ptn5150_reg { struct ptn5150_info { struct device *dev; struct extcon_dev *edev; - struct i2c_client *i2c; struct regmap *regmap; struct gpio_desc *int_gpiod; struct gpio_desc *vbus_gpiod; @@ -201,7 +200,6 @@ static void ptn5150_irq_work(struct work_struct *work) mutex_unlock(&info->mutex); } - static irqreturn_t ptn5150_irq_handler(int irq, void *data) { struct ptn5150_info *info = data; @@ -264,7 +262,6 @@ static int ptn5150_i2c_probe(struct i2c_client *i2c, i2c_set_clientdata(i2c, info); info->dev = &i2c->dev; - info->i2c = i2c; info->int_gpiod = devm_gpiod_get(&i2c->dev, "int", GPIOD_IN); if (IS_ERR(info->int_gpiod)) { dev_err(dev, "failed to get INT GPIO\n"); -- 2.11.0