Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4754310pxb; Tue, 2 Nov 2021 15:24:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIxSpU/07tByqCVoEw9L3z/8bDvazgQZBSzR8aD86gIs7e6IdjQVfFQZRvi/fP6PHOb7lp X-Received: by 2002:a05:6402:2786:: with SMTP id b6mr3995236ede.247.1635891890246; Tue, 02 Nov 2021 15:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635891890; cv=none; d=google.com; s=arc-20160816; b=YImrLCN63h0jIPTTLixuhnOFQnd6Pefvk3DYuNLzDsJ9LDafRqL3UxgseT0/fdBLgR YlxAEUwiuqO8hXr150Kza11+EAv2i0EkbF7iV9MmoP/Rmss7lUhNw6D4picM0viSz/5k 9Odh9vr30z3rCAuRAdl6aOvvsg4+jTLAmY0ySgHk0zpI5h6WEHZxIuiqBn5pRsgRi9kX hL4MQ5zoRdr6hcNonenKN60O5Z85+TB899En896gpDl9hjvPPSnrw5CV5Pl/7o/SWG3l SFt3aIDAUVKGyv/2FlqqtdxG31XQgxljaHVDLHNdpc81MZ1HnquQXCcA2kEXef2aNc8u mSlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date; bh=Y7jOViKqFWnVnwfumF3OZShCC8/gETNvkdPJniKvugc=; b=ugti4eFWfdM6w6LRwBD7DdT23+sg8e3nk1lBaPr13NiBTDuGlweB0dKnpXfqo3M7Ym SElAuRhjutsldjAe9yxeU0jT6OzxWdZjIUKhnfN5z2cBcx20Gy1K5KMnhzyY10/JUySE yLOjenVWtjMXGIHZoqEz4h9o9uEVLfCyvT6Qi+LYRpjnEddJe6uZLdazcj87DEjZSKQu xDCnXIZGTb+XIzi7C9pvw0auDd41NY+r07lR+d1d607LePJonwmpVVey5K/BgjGxQpuV +Tq61KFT6VSvH6ePNbZKW1vMgnVWBhXhbrrjc7UvgMphQvghDrSLe+v2zQyNYyxHwBIc o9Cg== 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=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si667817edd.564.2021.11.02.15.24.26; Tue, 02 Nov 2021 15:24:50 -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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbhKBWWA convert rfc822-to-8bit (ORCPT + 99 others); Tue, 2 Nov 2021 18:22:00 -0400 Received: from aposti.net ([89.234.176.197]:39610 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbhKBWV6 (ORCPT ); Tue, 2 Nov 2021 18:21:58 -0400 Date: Tue, 02 Nov 2021 22:19:10 +0000 From: Paul Cercueil Subject: Re: [PATCH 1/9] Remove unused headers and To: Jonathan Corbet Cc: linux-kernel@vger.kernel.org, Lee Jones , Paul Burton , Sebastian Reichel , linux-pm@vger.kernel.org Message-Id: In-Reply-To: <20211102220203.940290-2-corbet@lwn.net> References: <20211102220203.940290-1-corbet@lwn.net> <20211102220203.940290-2-corbet@lwn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jonathan, Le mar., nov. 2 2021 at 16:01:55 -0600, Jonathan Corbet a ?crit : > Commit ff71266aa490 ("mfd: Drop obsolete JZ4740 driver") removed the > last > file to include but left the header file itself > behind. Nothing uses it, remove it now. > > Similarly, aea12071d6fc ("power/supply: Drop obsolete JZ4740 driver") > deleted the last use of , so remove > that one > too. > > Cc: Paul Cercueil > Cc: Lee Jones > Cc: Paul Burton > Cc: Sebastian Reichel > Cc: linux-pm@vger.kernel.org > Signed-off-by: Jonathan Corbet Acked-by: Paul Cercueil Thanks! -Paul > --- > include/linux/jz4740-adc.h | 33 > ---------------------------- > include/linux/power/jz4740-battery.h | 15 ------------- > 2 files changed, 48 deletions(-) > delete mode 100644 include/linux/jz4740-adc.h > delete mode 100644 include/linux/power/jz4740-battery.h > > diff --git a/include/linux/jz4740-adc.h b/include/linux/jz4740-adc.h > deleted file mode 100644 > index 19d995c8bf06..000000000000 > --- a/include/linux/jz4740-adc.h > +++ /dev/null > @@ -1,33 +0,0 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > - > -#ifndef __LINUX_JZ4740_ADC > -#define __LINUX_JZ4740_ADC > - > -struct device; > - > -/* > - * jz4740_adc_set_config - Configure a JZ4740 adc device > - * @dev: Pointer to a jz4740-adc device > - * @mask: Mask for the config value to be set > - * @val: Value to be set > - * > - * This function can be used by the JZ4740 ADC mfd cells to > configure their > - * options in the shared config register. > -*/ > -int jz4740_adc_set_config(struct device *dev, uint32_t mask, > uint32_t val); > - > -#define JZ_ADC_CONFIG_SPZZ BIT(31) > -#define JZ_ADC_CONFIG_EX_IN BIT(30) > -#define JZ_ADC_CONFIG_DNUM_MASK (0x7 << 16) > -#define JZ_ADC_CONFIG_DMA_ENABLE BIT(15) > -#define JZ_ADC_CONFIG_XYZ_MASK (0x2 << 13) > -#define JZ_ADC_CONFIG_SAMPLE_NUM_MASK (0x7 << 10) > -#define JZ_ADC_CONFIG_CLKDIV_MASK (0xf << 5) > -#define JZ_ADC_CONFIG_BAT_MB BIT(4) > - > -#define JZ_ADC_CONFIG_DNUM(dnum) ((dnum) << 16) > -#define JZ_ADC_CONFIG_XYZ_OFFSET(dnum) ((xyz) << 13) > -#define JZ_ADC_CONFIG_SAMPLE_NUM(x) ((x) << 10) > -#define JZ_ADC_CONFIG_CLKDIV(div) ((div) << 5) > - > -#endif > diff --git a/include/linux/power/jz4740-battery.h > b/include/linux/power/jz4740-battery.h > deleted file mode 100644 > index 10da211678c8..000000000000 > --- a/include/linux/power/jz4740-battery.h > +++ /dev/null > @@ -1,15 +0,0 @@ > -/* SPDX-License-Identifier: GPL-2.0-or-later */ > -/* > - * Copyright (C) 2009, Jiejing Zhang > - */ > - > -#ifndef __JZ4740_BATTERY_H > -#define __JZ4740_BATTERY_H > - > -struct jz_battery_platform_data { > - struct power_supply_info info; > - int gpio_charge; /* GPIO port of Charger state */ > - int gpio_charge_active_low; > -}; > - > -#endif > -- > 2.31.1 >