From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751682AbdJ1Qvh (ORCPT ); Sat, 28 Oct 2017 12:51:37 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:39211 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbdJ1QvB (ORCPT ); Sat, 28 Oct 2017 12:51:01 -0400 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v9SGoDXI021928 X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: Philipp Zabel Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] reset: remove reset_control_get(_optional) Date: Sun, 29 Oct 2017 01:50:09 +0900 Message-Id: <1509209409-2698-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> References: <1509209409-2698-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No more users of these two. Signed-off-by: Masahiro Yamada --- include/linux/reset.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/include/linux/reset.h b/include/linux/reset.h index 53e5e78..0aa3d0d 100644 --- a/include/linux/reset.h +++ b/include/linux/reset.h @@ -343,18 +343,6 @@ devm_reset_control_get_shared_by_index(struct device *dev, int index) * These inline function calls will be removed once all consumers * have been moved over to the new explicit API. */ -static inline struct reset_control *reset_control_get( - struct device *dev, const char *id) -{ - return reset_control_get_exclusive(dev, id); -} - -static inline struct reset_control *reset_control_get_optional( - struct device *dev, const char *id) -{ - return reset_control_get_optional_exclusive(dev, id); -} - static inline struct reset_control *of_reset_control_get( struct device_node *node, const char *id) { -- 2.7.4