Message ID | 20221122130732.48537-3-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2190313wrr; Tue, 22 Nov 2022 05:11:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4B6Rb/xBLXQ6ezbHhSq3F2FbnDug60QGRd7EX8pGIzZ52vwm2sJIBUdzhIz/OsI8BvyfAj X-Received: by 2002:a63:4e20:0:b0:46f:4d37:e95c with SMTP id c32-20020a634e20000000b0046f4d37e95cmr3251748pgb.354.1669122670342; Tue, 22 Nov 2022 05:11:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669122670; cv=none; d=google.com; s=arc-20160816; b=CfMZER05DO7/eIZ2bEMynnZ0Msk8ZOifmZIHdsJGXw5wPqWcr6cxkPd+TPpdKq4p94 NmY7cyxAh2IYURT4TPWXJwJdXXAEr8kU0Dyz22sMPIdIvWBrvuXFag8RitQ9oqXBjk/L ssDIkyJb40KtnwpL2chSJAKhQE6aAf90EhQDu2mP8DXG2zKz5reO5sXF8YgAIKiGkdEN klBnTllozbdRgdypOJ8lhVxnpTgQk4nO+6Q73oWdrfcgb0YvAF69cpYXaQ5E5UgaJeNJ ZAASoiH1cstQq4W+SaYOsOFkJb0dyPjEG4FjEJ3LbFyhnnoc921Ei7swmFVuPc90CB/6 +aHw== 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=tjxwo1HPzMZrNHLSPSAWGhliqVzj0FO0M+2V2GPTocQ=; b=0AOCyMWIlVSsJRbYEz0rk3LfdltyGqrnWWHBVTvpjmJJjhQe4x0Rnx/PKMHEw+6UI/ wKQ9PKkpoWuz/Qh1HsAV7WWN8b/FemtFpe9jQjcNPJ020Awk+rKvizIzUtrYZreSNxc6 QloqbmiX1QRGNYtYduS+cZyBZsryU9gvD1Rnx+FURUvUJpXBeCd7oBXfUsmcjmnBmX4S zexyZlnt7MJgwL7mDtm8X7APhl/8gzshiN+i0DKBprsVZJjyeeHrbKI4WwL4UbSiBj3o hnYsOfFu9d7uMJFQWnL+AQyajmBKTi55mtGBgTQlt0hf4Rmu0NdKKTe3bmKnLxzs1Y03 sMKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kmrIhTxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ij30-20020a170902ab5e00b00186fb907e27si12061485plb.552.2022.11.22.05.10.54; Tue, 22 Nov 2022 05:11:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=kmrIhTxh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233488AbiKVNHV (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Tue, 22 Nov 2022 08:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233069AbiKVNHM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 22 Nov 2022 08:07:12 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78A645915A; Tue, 22 Nov 2022 05:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669122431; x=1700658431; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cT2P7D+KHsVNsHeh/fdjbnG586bb89r6zo96DDjOifg=; b=kmrIhTxhLCQI5HK5Hi+vOSiUrhG+JI/nNkpkLOROULuXc75F0D/BBvZD xhIsbzuxdP0juDwObU9ybGOWWkhxwYbXX5hzy/BhBNKsVfmxGDnQKfttV 6CCSuS+Zewu/C3exPpY/D8CICjPetl2FTpoZtZNZHg5vKUkS8vzUA5xhq DKVYjH1fIEGDMJdjpMo3GuWcrnq46rT21t7MKJiIE5cZDfpzV1CQaklI6 2mJmon9leRCgfRhGyChn0XT+6D6evYslzafw6p68GHC0GNf2pTipLACsK mrVYoqIfab8Xp+MpRWbOzMktbrt8u5S+Ed8t05S/ul84KNzXKyfX3jHXG Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="301358047" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="301358047" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 05:07:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="619206111" X-IronPort-AV: E=Sophos;i="5.96,184,1665471600"; d="scan'208";a="619206111" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga006.jf.intel.com with ESMTP; 22 Nov 2022 05:07:08 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E5E3212B; Tue, 22 Nov 2022 15:07:33 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Subject: [PATCH v2 3/3] clk: fractional-divider: Regroup inclusions Date: Tue, 22 Nov 2022 15:07:32 +0200 Message-Id: <20221122130732.48537-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221122130732.48537-1-andriy.shevchenko@linux.intel.com> References: <20221122130732.48537-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750201972964586798?= X-GMAIL-MSGID: =?utf-8?q?1750201972964586798?= |
Series |
[v2,1/3] clk: fractional-divider: Split out clk_fd_get_div() helper
|
|
Commit Message
Andy Shevchenko
Nov. 22, 2022, 1:07 p.m. UTC
For the better maintenance regroup inclusions as follows:
- split CCF related headers in its own group
- order groups from generic to particular
- sort each group alphabetically
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: dropped duplicate of linux/clk-provider.h
drivers/clk/clk-fractional-divider.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Comments
Quoting Andy Shevchenko (2022-11-22 05:07:32) > For the better maintenance regroup inclusions as follows: > - split CCF related headers in its own group > - order groups from generic to particular > - sort each group alphabetically > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > --- Applied to clk-next
diff --git a/drivers/clk/clk-fractional-divider.c b/drivers/clk/clk-fractional-divider.c index b6b52b79d671..6affe3565025 100644 --- a/drivers/clk/clk-fractional-divider.c +++ b/drivers/clk/clk-fractional-divider.c @@ -38,14 +38,15 @@ * saturated values. */ -#include <linux/clk-provider.h> #include <linux/debugfs.h> +#include <linux/device.h> #include <linux/io.h> #include <linux/math.h> #include <linux/module.h> -#include <linux/device.h> -#include <linux/slab.h> #include <linux/rational.h> +#include <linux/slab.h> + +#include <linux/clk-provider.h> #include "clk-fractional-divider.h"