Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3795087imm; Mon, 11 Jun 2018 01:45:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJwEdM7Fe/UeTOkBl2rhEJdi7sSgRzqMMQ0Kq5wEjby/sLqNSlO8TatkAKP8BOnTsx0PWcj X-Received: by 2002:a62:8910:: with SMTP id v16-v6mr16254849pfd.13.1528706726672; Mon, 11 Jun 2018 01:45:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528706726; cv=none; d=google.com; s=arc-20160816; b=aN7iv+G5RYCOspLgKQilVfLxdWF01KL1KB7RDqis5uydJ1TOGi9n6fSbB7/HA55+H5 gRr/a0e8s6sc78sXqOQaRauOR4sgZVnh3EXLWNgMB/eoF1wHxcP5TnLwMpjh5079DOcD tYQ2OyCgD5bGRbrDf/A+ydyBXfyMRoW0hjUbjzcJm8bnXzuL//6fnMGNbUHB2PFv4Cun 5OYCVQMK/tywA4EnKJOyJMdtgaLlnJfRpSDxHiKjSvhFJZcp9DcPMLyEIO41FWkgD91R 5Wu4j83aDpjsUmdUOUdc8zci3ylNCm+9P6/QNdrhCjDU+TEdKf9/YFu1XfFhAkpuEHYh oAIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=xTIzFCi/hdgvMFIS2r+xRbKURTO0NSMRuX/JpD9I8yY=; b=TliFFw6AHm3jkcd5Pi0oaPGSBgU32Vi25LKhVw/XJzDPdtzyPS5JlhVd89ypFH83nH sbr2Fm3fgkwddP0+plW+b9ZnLjsGJ6ONXVcxl2Ir7/0qJpJGjLD4YS85eXtsTeydDlDz /av+CLmjqf/IgT8895Wvqd7dD2SjN5a3opJQiILn9zspHG2rggYq0lXPyIBZlsioclwO sEl7XN2+aOesDQLSByNSSjdVlf+fU93UR0SBI3RF6K0kL4qFahZj1OGmbpVHcTjkgKmu TfO+skc9smxXdC5leEzOqlHLYf/clF7HRhPnFbnbJzXRmY5F5p8dd77wAc8o88oR+cSl 6SYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si44431070plg.230.2018.06.11.01.45.12; Mon, 11 Jun 2018 01:45:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbeFKIoj (ORCPT + 99 others); Mon, 11 Jun 2018 04:44:39 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:41504 "EHLO xavier.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754066AbeFKIoc (ORCPT ); Mon, 11 Jun 2018 04:44:32 -0400 Received: from ayla.of.borg ([84.194.111.163]) by xavier.telenet-ops.be with bizsmtp id xLkS1x00i3XaVaC01LkSjr; Mon, 11 Jun 2018 10:44:31 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from ) id 1fSIR8-0006xM-F3; Mon, 11 Jun 2018 10:44:26 +0200 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from ) id 1fSIR8-0005OA-DS; Mon, 11 Jun 2018 10:44:26 +0200 From: Geert Uytterhoeven To: Greg Ungerer , Ralf Baechle , James Hogan , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Corentin Labbe , "David S . Miller" Cc: Arnd Bergmann , linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/3] Legacy clock drivers: Normalize clk API Date: Mon, 11 Jun 2018 10:44:20 +0200 Message-Id: <1528706663-20670-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, When seeing commit bde4975310eb1982 ("net: stmmac: fix build failure due to missing COMMON_CLK dependency"), I wondered why this dependency is needed, as all implementations of the clock API should implement all required functionality, or provide dummies. It turns out there were still two implementations that lacked the clk_set_rate() function: Coldfire and AR7. This series contains three patches: - The first two patches add dummies for clk_set_rate(), clk_set_rate(), clk_set_parent(), and clk_get_parent() to the Coldfire and AR7, like Arnd has done for other legacy clock implementations a while ago. - The second patch removes the COMMON_CLK dependency from the stmmac network drivers again, as it is no longer needed. Obviously this patch has a hard dependency on the first two patches. Thanks! Geert Uytterhoeven (3): m68k: coldfire: Normalize clk API MIPS: AR7: Normalize clk API [RFC] Revert "net: stmmac: fix build failure due to missing COMMON_CLK dependency" arch/m68k/coldfire/clk.c | 29 +++++++++++++++++++++++++++++ arch/mips/ar7/clock.c | 29 +++++++++++++++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 10 +++++----- 3 files changed, 63 insertions(+), 5 deletions(-) -- 2.7.4 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds