Message ID | 1596558782-3415-2-git-send-email-gene.chen.richtek@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=OvZR=BO=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 886FF1731 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 4 Aug 2020 16:35:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75F1E204EA for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 4 Aug 2020 16:35:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Qlmpkmhg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B0jJXT0j" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75F1E204EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Mo377MEuo5wFV34IZc+WG+qBxf81/xFMizmBGdhmUtw=; b=Qlmpkmhgtn7BFnkU9ZMBqcsN4p ET+rAhKxC+C3qEWwknnrxjR9AGDF6RihzLPWglDAjFoqRKVoQwN+8AKnRXK9QFfYIJMXSM3i0trfx UnhXp/XQUskgTNrxBLiUpumMw4Y+66hYradsg55sjP8t1AHWJFrcgqnsJVqto6cz6aYCuPT0HHqAm 4sr/EpfbbyO11L57SSdjZpGSpJX+AdjIs9WPsN+f/G4HyLy7AklXGaB6BH3SNiavSLvImTZWJKytk WhWjq8UFvJMRYgtntGCPFf+tIG4Twykdsbavz46agSZ3ZibOKlokxm4XzYs/s6+r1QIoZVBoFROjW Z4v31/Ag==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2zsN-0008F7-M9; Tue, 04 Aug 2020 16:33:19 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2zsJ-0008D4-0I; Tue, 04 Aug 2020 16:33:15 +0000 Received: by mail-pg1-x541.google.com with SMTP id t6so22555082pgq.1; Tue, 04 Aug 2020 09:33:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wr09/zFN7INgSL/hkVohJfKLUB87eURQe5zN5T5ukzo=; b=B0jJXT0jtUj2/zo9XBQUyG9Kdu2EmQSJbRxb7duGHAWijyWMOh65XKfOh49n6LjnfG uAIZcH9qeltXn/9+qyDOPWmOIvH4Cz1eUrgsqvMvUDBepmPnNGkBUdX9MltM9v9bIOv3 QBYDTBcY57lOpqriYV8yen5STihrd506+zE8DglgJcu2eR6EijFFGprI99ckzm4Vk5A+ LLjjDPME987JPYAq1UwvNFA1To3AO5JRA7fSfUcTdsrHzR2KImeLIMYXMK2vrGQ2MJTD z6iJKdR450NkyaPy3Aw5RsqP05P+HdtxGXSBe9Jg0CVpBoE0+dc/cw9aOMisknlvHORB YTRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wr09/zFN7INgSL/hkVohJfKLUB87eURQe5zN5T5ukzo=; b=X5YUbT9QUxfbf9MchICBJaOpw2ftbjJcasl9Aq+TNTB2DAUZcmhD6ovp/Y/pAd8OjH DXi88bNRhSFXJG30HsJjmLaQy4B+plhxwNZdOpHohExUhDIQiz7F1H1pqH6hbQckOz0N Cc2OBBjsm8i+CMy01vDkGTSlw4Id3TWCnHWGKmb1A5MA64xCWBC3lFeLhYUyyHqynyBA /V8Eu0IEtF3glGMJafjln1rd+LavKHIqHg4091QjOQEOd8egp6y8EcnlRjsna68t7aYk 49I2CKjJkcIe6Fnw0dgMgEv/JsZ0A+9nexhYtd9VEP1G2A54KK1Cp3PLSgwMZosWNfQI zjJQ== X-Gm-Message-State: AOAM533p1iUq9qJLBLfu4aaLJuMvVhI8t2XeTqJvlL0QPVck7QL5OU5f bMxjP+gEdXRMWz0Il+We1f+JQoEs X-Google-Smtp-Source: ABdhPJw1Pi3AXMVkSCaqPv5hExwHd2BxhzyFK6XiKYORGvLW802pSliKRXJSIuMPEv6iHBbTj1zYsg== X-Received: by 2002:aa7:8514:: with SMTP id v20mr21774599pfn.18.1596558792756; Tue, 04 Aug 2020 09:33:12 -0700 (PDT) Received: from localhost.localdomain ([123.110.251.138]) by smtp.gmail.com with ESMTPSA id m16sm657253pjz.47.2020.08.04.09.33.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2020 09:33:12 -0700 (PDT) From: Gene Chen <gene.chen.richtek@gmail.com> To: lee.jones@linaro.org, matthias.bgg@gmail.com, rafael@kernel.org Subject: [PATCH 1/9] mfd: mt6360: Rearrange include file Date: Wed, 5 Aug 2020 00:32:53 +0800 Message-Id: <1596558782-3415-2-git-send-email-gene.chen.richtek@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1596558782-3415-1-git-send-email-gene.chen.richtek@gmail.com> References: <1596558782-3415-1-git-send-email-gene.chen.richtek@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_123315_062746_452D963A X-CRM114-Status: GOOD ( 11.16 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:541 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [gene.chen.richtek[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: gene_chen@richtek.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, cy_huang@richtek.com, benjamin.chao@mediatek.com, broonie@kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, shufan_lee@richtek.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
Series |
mfd: mt6360: Merge different sub-devices I2C read/write
|
expand
|
diff --git a/drivers/mfd/mt6360-core.c b/drivers/mfd/mt6360-core.c index e9cacc2..c7a955f 100644 --- a/drivers/mfd/mt6360-core.c +++ b/drivers/mfd/mt6360-core.c @@ -5,15 +5,14 @@ * Author: Gene Chen <gene_chen@richtek.com> */ +#include <linux/crc8.h> #include <linux/i2c.h> -#include <linux/init.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/mfd/core.h> #include <linux/module.h> -#include <linux/of_irq.h> -#include <linux/of_platform.h> -#include <linux/version.h> +#include <linux/regmap.h> +#include <linux/slab.h> #include <linux/mfd/mt6360.h>