From patchwork Wed Jan 3 01:35:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 10141575 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 632156035E for ; Wed, 3 Jan 2018 01:36:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5583728967 for ; Wed, 3 Jan 2018 01:36:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4AA8B28E5D; Wed, 3 Jan 2018 01:36:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E930D28967 for ; Wed, 3 Jan 2018 01:36:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751098AbeACBfV (ORCPT ); Tue, 2 Jan 2018 20:35:21 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49570 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750873AbeACBfU (ORCPT ); Tue, 2 Jan 2018 20:35:20 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1DB0B60A26; Wed, 3 Jan 2018 01:35:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1514943320; bh=VzM425U6UwXLXsFLhJpxnPgxgBiuJuc74N3bA8MaxkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NzdXODVodXzujPJWNVamVFYoc5QdOpsjBkV7rxwvxGONNZEXfv7vWlL0SpGxhX9zU ODl+7YogtSl5BVEzmJ8iviseN5gTf2lrq+CiQbEJ/x8LMqCnmDQ4pEP4Dpzcmc+XcK GUIFmMUfs99lQEJdBRMxixxWry+/zaJ4Z/utRnmM= Received: from sboyd-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sboyd@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6507960708; Wed, 3 Jan 2018 01:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1514943318; bh=VzM425U6UwXLXsFLhJpxnPgxgBiuJuc74N3bA8MaxkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CslIgf/0FKaw/x6I843aMu/uUuFQ0Je8GqcpVghoE/IindlypcC5QqFiDBpDMCwj6 7IERxBUOEFKG7pLLslnFw7SHbi0986AUGJCWYqvjTp/M0GxuA+Y8YxAkwQIW43Dy/M bpzWSFArI1DGa7t7dfrCFKiqSYwwKjRM6Hu3YrH8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6507960708 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH 1/5] blackfin: Use generic clkdev.h header Date: Tue, 2 Jan 2018 17:35:12 -0800 Message-Id: <20180103013516.18844-2-sboyd@codeaurora.org> X-Mailer: git-send-email 2.15.0.374.g5f9953d2c365 In-Reply-To: <20180103013516.18844-1-sboyd@codeaurora.org> References: <20180103013516.18844-1-sboyd@codeaurora.org> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The generic header file is equivalent to the blackfin version, so just use the generic one. Signed-off-by: Stephen Boyd --- arch/blackfin/include/asm/Kbuild | 1 + arch/blackfin/include/asm/clkdev.h | 17 ----------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 arch/blackfin/include/asm/clkdev.h diff --git a/arch/blackfin/include/asm/Kbuild b/arch/blackfin/include/asm/Kbuild index fe736973630f..40e44231743f 100644 --- a/arch/blackfin/include/asm/Kbuild +++ b/arch/blackfin/include/asm/Kbuild @@ -1,4 +1,5 @@ generic-y += bugs.h +generic-y += clkdev.h generic-y += current.h generic-y += device.h generic-y += div64.h diff --git a/arch/blackfin/include/asm/clkdev.h b/arch/blackfin/include/asm/clkdev.h deleted file mode 100644 index ded0209348c7..000000000000 --- a/arch/blackfin/include/asm/clkdev.h +++ /dev/null @@ -1,17 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CLKDEV__H_ -#define __ASM_CLKDEV__H_ - -#include - -static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) -{ - return kzalloc(size, GFP_KERNEL); -} - -#ifndef CONFIG_COMMON_CLK -#define __clk_put(clk) -#define __clk_get(clk) ({ 1; }) -#endif - -#endif