Received: by 10.223.176.46 with SMTP id f43csp808440wra; Fri, 26 Jan 2018 07:15:14 -0800 (PST) X-Google-Smtp-Source: AH8x22489PaumPf+BvXI0xTrVU0akTDkTl0HHo/P5L6cD8bDm/ysW3CSZ/03teK4YZecVi9cyKh0 X-Received: by 10.99.47.71 with SMTP id v68mr15532986pgv.176.1516979714349; Fri, 26 Jan 2018 07:15:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516979714; cv=none; d=google.com; s=arc-20160816; b=f2jKh4zZGcUUTmq7sZ0BvkcmuSSf4h6j/8lts8lenF1bcFbYRpw6lkvGTYgvMfRuxK yYgKJb9u3oKBy9aXFvT5ds3TBCgr0WtteZQhokdm2OG5N8Dh9Mt8sLEDpOjBdNRUnXmN 5N4sss6nvSyuVDvfD+99mL2aoe1Z7tcnK5MMeEaGDVlYDunXQYoYi4Zh+TkspAZ5ilKh lvj13kLLq1wUrdxxFFrgpfS6TewLpwqmrOljhY03yMr1MecMVkl/MeC3VHg00jKciZKE qTp/1UrpvSe06sYDX6/mKkZuOvNp6ifEpxJMcCVDFjjQc/D6t9zlPsaPFj9xCrzqby9k EQ9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=7s6nV19e3rv3QnCIiR/846wdDn2JDRCfycn7c0Qe6w0=; b=uxelJU+M0w43ZE/BrOJA830KG2K5YILew+GBSiOwTnQnB/N2n2ya5SZo39neZemnv5 gJRg9Zs5+ukAwYxkOMgEvh+OmTrIAap3fuxIdZ5LMHcnZ11RNMaqr94xzyscz4Bmqy1l LzV0kPhi5gDnIuEqIVdMt2O6U7V1TjlHnWx8/C20oRjO56zg9+0elCDg7a1Pxg8qoKDT sTXrx6K+NRFmynYf7dL6zsS4n8tuFtfY7BCk3+65qm93GGQWUg1n9+qusyHOG5wVuols 2RucyFyddahzQCKu8o3giHx0Zb6LasyZhRlz+Uh+xWT7etOVzzQS6rZdJFsqW34JBObZ 9OAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7si3120064pgs.257.2018.01.26.07.15.00; Fri, 26 Jan 2018 07:15:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753538AbeAZPMp (ORCPT + 99 others); Fri, 26 Jan 2018 10:12:45 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:38983 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752916AbeAZPMk (ORCPT ); Fri, 26 Jan 2018 10:12:40 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0QF4IuQ013182; Fri, 26 Jan 2018 16:11:54 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2fq4fm1g36-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 26 Jan 2018 16:11:54 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DD5113A; Fri, 26 Jan 2018 15:11:53 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AC6D82CE4; Fri, 26 Jan 2018 15:11:53 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 26 Jan 2018 16:11:53 +0100 From: Fabrice Gasnier To: , , , , CC: , , , , , , , , Subject: [PATCH v2 1/8] pwm: stm32: fix, remove unused struct device Date: Fri, 26 Jan 2018 16:11:32 +0100 Message-ID: <1516979499-3665-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> References: <1516979499-3665-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-26_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org dev is never assigned nor used. remove it. Fixes: 7edf7369205b ("pwm: Add driver for STM32 plaftorm") Signed-off-by: Fabrice Gasnier --- drivers/pwm/pwm-stm32.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c index 6139512..59524f9 100644 --- a/drivers/pwm/pwm-stm32.c +++ b/drivers/pwm/pwm-stm32.c @@ -21,7 +21,6 @@ struct stm32_pwm { struct pwm_chip chip; - struct device *dev; struct clk *clk; struct regmap *regmap; u32 max_arr; -- 1.9.1