Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp702896rbb; Sat, 24 Feb 2024 22:54:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5UGczL/3Vt6XfgCaRGsN3zp3FJ4h/LKvIXpOiD+MUEHCnrGeLU+c5PufYvdGNcrPwq1BiZ1861ph7j+iscAeduwoubVpX0IWQjSQmMg== X-Google-Smtp-Source: AGHT+IFZLLnWKPdDUrBzl0vHN/lNbYaJg9mgpGLqVP9f5GotKSdWRcLj/PuqIa+Iao1QfAQnrNRQ X-Received: by 2002:a62:d407:0:b0:6e5:bb8:dc1c with SMTP id a7-20020a62d407000000b006e50bb8dc1cmr506039pfh.2.1708844083919; Sat, 24 Feb 2024 22:54:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708844083; cv=pass; d=google.com; s=arc-20160816; b=pfCL/q/yHDMj+C2VDDKBUvTvEznt5Rpp63FqKchYWE14YOZNAHdFKkHy20Dn8+VjTF PTS0IgXF7TvRac9fW+b9bv0MZp8f9vStmrSo/Cg3qypQgC9zj4WOwmvo40dRH+E/Tg8K DzemmVQcmKq0S2ABsgqxpTFfs+4m49ui5komP70frHQqzn+31q+OaRERwDZjDyzxgkZA nlQsV1kuSUBZ58ptMpxv84Twl0HzLzweayJDU4nKbaDyybhDualAv9qNUCu5eirzR9Oe IdsNEzgIAE4mX14fQt1elF0r6PocFXLjZuHYZQ9qXY3yy2aWktqFUDB7nT4vSHahHQwi oOJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=n7qId9+jfJUCqQ/SkIwlhCGmFKyY/JbOZZwyRJiXokA=; fh=unf377SvBRyxyn4N70evWH06RD6+cE9JS+UAyYmvleU=; b=oH+Y8cKVHPWptxKql9PQZZmn9AEehRrfEw/m6qCk0teybSaxoBVJJoZxwEzptyMFCk rw6p/U10iMNPMwKhFJE6mBlg+Q7qmEnAIQeILODZ/uC0chsc3srU3rLqMCeBwySpCbwV fXhjCANzq0pcB/jgvx+HlXFeYhqHQgxB5J9ay7Sv+kNygVDRymkoCieMTTWO9dGbnKVR ctqYK5GB9bXvBqaEwyD1hVUk25gGLRgvaPqjw3kEHlKRzJZMQwax9lVDKYp1EV2skMQ4 sFxCFs1XdnHX2qLPWPPFiiJYkjiJ/je/+C+03RNPDHqB7r7QhqhYcrJi689nvmPvmtwN FUXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AGA2qEKP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m10-20020a056a00080a00b006e50d5486f6si329662pfk.94.2024.02.24.22.54.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 22:54:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AGA2qEKP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-80000-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80000-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 36D7CB21436 for ; Sun, 25 Feb 2024 06:54:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6F3AADDC9; Sun, 25 Feb 2024 06:53:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AGA2qEKP" Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57AFF101D5; Sun, 25 Feb 2024 06:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708844012; cv=none; b=tREV5x/IfEGndATbnpaZLooWxMiJ80TKvw3g4GOBjBlsUcXQ7ROI2MUqEl9ATAA8et3IVjwS934XHLHtQU6zqmN682T70bdagir20jX21phXTu3Kzzdqp3vBri87TQsVycUBQRGjGsXxigEU2f5zv2I0Bv5h9hSuH8lknNDZdV0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708844012; c=relaxed/simple; bh=m8UmET64JFRSVNpBc2wrAPbmY40xINLq85Nvqqp+9Sw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tl9HyrcPBTAUoO0/nc19VmqUnSLCCiX96hSjYYDZOYP4JTxc0KHZlb+EvKex+8yiNrMk98pQ5LO+xTKdS6MqjvptVfEzeq/szAbOcUFLD/akeCsRLDSkuFQ9QO+l6FJkLPNNxs0Nc1TbpOC13QZb0+em2tbTgqpqMy+Q+LIvNkY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=AGA2qEKP; arc=none smtp.client-ip=209.85.215.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-5d8b276979aso1669740a12.2; Sat, 24 Feb 2024 22:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708844010; x=1709448810; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n7qId9+jfJUCqQ/SkIwlhCGmFKyY/JbOZZwyRJiXokA=; b=AGA2qEKPXCMf8YPinvafslkMF+1g26gQYmAeAdrKtfSiZlz1WiKyzKytvmwJBIv4O8 5I7Lqyoc6xGAA0vByoLLONPH9+tQ0EUu9w7pnUBw7epYqMLTDc5hImYehFPtSXYtMdwA Gp7QHYTBl04rb7JaPtaSUxNC7YOY+b5YXM52y2O4tv3bvQA9FfpNu0tvyvq/JtS3udyf IgWur/pJJEu/lRfCQntcDhEzft9DOGw4wg/igsF/PzsYRbgL0HibwftE7jIrgdzwvHHI fU3mhnMoBEt4qoQ93McBWa7k1S8OkQJQIVBvX/zTlowcmScCN7/IWF3r/JJ6a+lrVAEv Mkag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708844010; x=1709448810; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n7qId9+jfJUCqQ/SkIwlhCGmFKyY/JbOZZwyRJiXokA=; b=OZy0dZGzZn9sdXavUgsxPd/5ebiMPBI7E2aUwAYW//VI6kKLaEuCwdXo4nwV5vnR7r IVo6suyNTl/UREGaaXLu7+5rKo5etPgYJFeeAvzOCK0bLstmNtwfaxYDMG3QYNKkZyt8 rUVkRv6CPBxzuTEk/6hgK062S8r2LvGCJha7tqFXdOpV1pBwVTnxe5vYwUAaAgerkJGe oVtlzBI8z+Oke2oDZg/QFfQJbGvDC0hZ9LFj4v3fgwSH7FdaU2ht12QpccNw8TnQ2i4+ ayXWiAkYD8usBVeMdQOqvDMfqtgO4n6c6/0+dy+b7PNudoztWdbX9MBzt0olriyZI61O BKrg== X-Forwarded-Encrypted: i=1; AJvYcCWfjm8e+fPRAOVnYT2tKkRHkhWdINhFdC4ObtB663w+yNgtyxoCqVhKho11+q2KvrmiqpnQklmJTa+rps/Ol4aHScV/UG1dcMEIFtxS X-Gm-Message-State: AOJu0YzfsVtzZ5pZqbKzmjC5EuxZFqRoRzAUXbpEpjvyIqyQZ8GwZI/u v3UA7Rklkq7cvGJ4fnm7EDm/X5oXYlLhmPdJwjD0CyAMnVThmzqqdkyfhabrre1JPw== X-Received: by 2002:a05:6a00:1816:b0:6e4:65e1:5732 with SMTP id y22-20020a056a00181600b006e465e15732mr5347721pfa.18.1708844010189; Sat, 24 Feb 2024 22:53:30 -0800 (PST) Received: from localhost.localdomain ([171.218.176.26]) by smtp.gmail.com with ESMTPSA id p18-20020a056a0026d200b006e45b910a98sm1930313pfw.6.2024.02.24.22.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 22:53:29 -0800 (PST) From: David Yang To: linux-clk@vger.kernel.org Cc: Yang Xiwen , David Yang , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org Subject: [PATCH v7 04/13] clk: hisilicon: Remove hisi_crg_funcs Date: Sun, 25 Feb 2024 14:52:19 +0800 Message-ID: <20240225065234.413687-5-mmyangfl@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240225065234.413687-1-mmyangfl@gmail.com> References: <20240225065234.413687-1-mmyangfl@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit After refactor, no one use hisi_crg_funcs. Signed-off-by: David Yang --- drivers/clk/hisilicon/crg.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/clk/hisilicon/crg.h b/drivers/clk/hisilicon/crg.h index bd8e76b1f6d7..db2324309d41 100644 --- a/drivers/clk/hisilicon/crg.h +++ b/drivers/clk/hisilicon/crg.h @@ -11,15 +11,9 @@ struct hisi_clock_data; struct hisi_reset_controller; -struct hisi_crg_funcs { - struct hisi_clock_data* (*register_clks)(struct platform_device *pdev); - void (*unregister_clks)(struct platform_device *pdev); -}; - struct hisi_crg_dev { struct hisi_clock_data *clk_data; struct hisi_reset_controller *rstc; - const struct hisi_crg_funcs *funcs; }; /* helper functions for platform driver */ -- 2.43.0