Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3129108pxb; Fri, 5 Nov 2021 10:12:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXazByrOi+bJsdQxz5ftTNd9mLfURHX7pMt5U50dRO2YqzN1nC+CmzRpUdg/Kd+dx8u482 X-Received: by 2002:a17:907:6e10:: with SMTP id sd16mr16905600ejc.158.1636132335916; Fri, 05 Nov 2021 10:12:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636132335; cv=none; d=google.com; s=arc-20160816; b=lqCzpMf095kqV5HR02zfvsg/MnjhtCPFLjAyYAP6ddTYYsHxouWkUuTn11XR29nDdX b511l1jor3Agb4CuHC/bT9Zx6SV1MMXbXkC8LCHaPJSQxWONzr6Gcv2xuQYd2XLJ111S 0+zwuVdNsP/yJsP/9Zu2V7HoRUoirbfJntX9HVWjVc0llN6EkUOk+WmFkeYCkGIEOxpq Bk1ZxqdNgwVOCtqjvW1e+Mo9BFr7v6dNEvdTn3CnMy6VwrBYMxCkeYCkKeRNiS6pex2M fuUHVuz3MgFrysu0SOzXaJrjV1dcl6Cxwns9bTxiynZvNICa9g5QkSEwIwI48SVeXnla XwuA== 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:date:subject:cc:to:from :dkim-signature; bh=O16OdHn+GTs4ijs6PH3u89m4wmvvKfK54fa2lozmRZs=; b=tUWA1tJyOmLiGfP/s5JpMKY/NYwy1qk0QtlPwcdUMyQ/PkWTBOpUacic+ZM9z08CUr 1+pz+gS7vv+2BiP7Wh8iqnJRQkG2K+1tY3s3mu+09azz/+Xt7zCuqS8FECjnNalWgtf+ nx/DdGoD89sFbbE4tm5qda9QRNabfJxCj6/GKVZ5IwyXlAaQQKhgIakjF3OuWuh+Jg6d oGkmHp1MqxVXfvE6sVbDovldA0YhE8xGduAvY71Qq420RH5XYHifvgAHBmBv8Z2eBAze NUBS6T8wv+wALRhbXv2qv/D1lTBIGadXYYVK8SRlJdOsKJgDobdULgJGK2n4Bp5MwrT1 qtgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=r0S0hC2Z; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y69si12542486ede.35.2021.11.05.10.11.29; Fri, 05 Nov 2021 10:12:15 -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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=r0S0hC2Z; 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=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232873AbhKEPwa (ORCPT + 99 others); Fri, 5 Nov 2021 11:52:30 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:42494 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232592AbhKEPw3 (ORCPT ); Fri, 5 Nov 2021 11:52:29 -0400 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id B11AD3F1DD for ; Fri, 5 Nov 2021 15:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1636127388; bh=O16OdHn+GTs4ijs6PH3u89m4wmvvKfK54fa2lozmRZs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=r0S0hC2Zdk6ru6tVnHqGcTCQi7SyiqqVbaxA6dPaSmnq7hoRbJcMR67I0/jYyjZFI zHYFmUggBccXzEp7vt6bVrH3n2GruBDxcBiAECvfpAjD4yvO6vZjwRMYjdDggz9uy6 42FcfzyE1c06aGcd34GO9Ads4f/Th++H5DXuoneZFOpFoG1aBPAMwWackJWsjiYapp R+UVy3NcsKPa04yec7OPXeqmFYYjKs7zIYguLHEJOiPd4nhIzZURxa8KvftMfKvSCL dJjrzaYtqVFWkU0P2+2o5E4Co6BRJKZGE9d/xAj0HPieSX0NU8p+Zcsnv2NibzM5xj xxyIN9oY7Xcsg== Received: by mail-wm1-f69.google.com with SMTP id l187-20020a1c25c4000000b0030da46b76daso5846634wml.9 for ; Fri, 05 Nov 2021 08:49:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O16OdHn+GTs4ijs6PH3u89m4wmvvKfK54fa2lozmRZs=; b=wbXGMjbmVnDv7+FXm8P+XiV/Izd3NCtO9vIodCf8DC5n7j1TPiwErB1oIOJn5hleMs Wg9q3JFrW9gpyZ2WP12YbxRK8yrFlXixRx3AbIaPFtWGLjXkdn+whQSit4mPIWNehCoW wK25A/QoLZjLWojb7s7idkAeKNPT2Ncp2Om6T/HPPV01ebgDyOfvyvMUIa32Z80y3mLq HrPsh3Frf8BQqOljoMQe6MtJdxBr1cGfJGBKXZlhELx0ifQtkyrbXzx0WrRD2PgSGCPj yHrSXL+Mq6B0uNKSnE+Z6bwbjpRVN4h5vRZl2xENVQeaKCOEIC+NeTCpXes+fpBDNAN2 xaBg== X-Gm-Message-State: AOAM531r8vHCkP/pMhRFlWRbmqrOBIRUMoKOZ28OVhNkL30366qgKemM PqwyWeZ+hCFU3da5mfxLp0JyLj38vdTwvt+F6aKg+Bs9/MwW/prCKFWx4BS/yoqw5HMV6xq/9M2 fkiUYtI12+jaB8PO2PSK1vVu9qqSAGHihvpcMBSVv0A== X-Received: by 2002:a5d:4a0a:: with SMTP id m10mr51023057wrq.221.1636127388424; Fri, 05 Nov 2021 08:49:48 -0700 (PDT) X-Received: by 2002:a5d:4a0a:: with SMTP id m10mr51023001wrq.221.1636127388217; Fri, 05 Nov 2021 08:49:48 -0700 (PDT) Received: from localhost.localdomain (lfbn-lyo-1-470-249.w2-7.abo.wanadoo.fr. [2.7.60.249]) by smtp.gmail.com with ESMTPSA id o25sm8150426wms.17.2021.11.05.08.49.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Nov 2021 08:49:47 -0700 (PDT) From: Alexandre Ghiti To: Steve French , Jonathan Corbet , David Howells , Russell King , Thomas Bogendoerfer , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Yoshinori Sato , Rich Felker , Matti Vaittinen , Lee Jones , Jeff Layton , Greg Kroah-Hartman , Arnd Bergmann , Ronnie Sahlberg , Guenter Roeck , Wim Van Sebroeck , Lukas Bulwahn , Luis Chamberlain , Kalle Valo , linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-cachefs@redhat.com, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-power@fi.rohmeurope.com Cc: Alexandre Ghiti Subject: [PATCH 6/7] include: mfd: Remove leftovers from bd70528 watchdog Date: Fri, 5 Nov 2021 16:43:33 +0100 Message-Id: <20211105154334.1841927-7-alexandre.ghiti@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211105154334.1841927-1-alexandre.ghiti@canonical.com> References: <20211105154334.1841927-1-alexandre.ghiti@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This driver was removed so remove all references to it. Fixes: 52a5502507bc ("watchdog: bd70528 drop bd70528 support") Signed-off-by: Alexandre Ghiti --- include/linux/mfd/rohm-bd70528.h | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/include/linux/mfd/rohm-bd70528.h b/include/linux/mfd/rohm-bd70528.h index 4a5966475a35..297a4a84fff5 100644 --- a/include/linux/mfd/rohm-bd70528.h +++ b/include/linux/mfd/rohm-bd70528.h @@ -362,28 +362,4 @@ enum { #define BD70528_MASK_BUCK_RAMP 0x10 #define BD70528_SIFT_BUCK_RAMP 4 -#if IS_ENABLED(CONFIG_BD70528_WATCHDOG) - -int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, int *old_state); -void bd70528_wdt_lock(struct rohm_regmap_dev *data); -void bd70528_wdt_unlock(struct rohm_regmap_dev *data); - -#else /* CONFIG_BD70528_WATCHDOG */ - -static inline int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, - int *old_state) -{ - return 0; -} - -static inline void bd70528_wdt_lock(struct rohm_regmap_dev *data) -{ -} - -static inline void bd70528_wdt_unlock(struct rohm_regmap_dev *data) -{ -} - -#endif /* CONFIG_BD70528_WATCHDOG */ - #endif /* __LINUX_MFD_BD70528_H__ */ -- 2.32.0