Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5798017imu; Wed, 26 Dec 2018 09:08:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN4tPC4HZCzLny0CttF2xI1fC2PUdihTfOvQ+XVxwFnjPXRG6mVQ6fnotUI/M69/WiBEjvuW X-Received: by 2002:a17:902:1e9:: with SMTP id b96mr20542189plb.150.1545844109634; Wed, 26 Dec 2018 09:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545844109; cv=none; d=google.com; s=arc-20160816; b=b7EYJ12CxZfLJQgBx8VGGzb1Gcxm8TAwGwuoDRTZNw2kk2exOimnw+TLoeMM9KPLUU L08cQoh+PXSTZIDQSc5TRqfdJf9ZKan/Sxjgb3NBofDN8FLJ7+uBs7jmvUXxkTBiCYZE X3VxaULFM9HDHSJv7q+TltyoTqYKZQY/FSwY1qB8hLVyNNzKRonG6Bg6VkgSeoBNi6Ku UucaVZrZUYNt17DaJy5Dyl/Gy1GG88K85jojb69FfyXTgwzfUUWzh/sUL/8OF0C4ocUK PbNFKW0ZlCmNgWC6+zfa49WOdX0yd/KfWSnHfUfkGlD85R+0oO1zhUi/dQUa9Fd/Djcp fg0A== 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 :dkim-signature; bh=+Yn9bPTbkLifv5D8U//ZYbgNmgR5ZNAfBYCx0gbDmrY=; b=tMaiF0UERvOswpmj4ech0nnuZZedoZtoMteVzJbO/TPM2YiT0Qh+72ag0t0bqp1VBE hYLfnawsnDId/K0T39pCEBdrwAZlo1hsYcVnic0fvDVnZ3MBvOrEcD/75t+QhWcrxLYp 1FO2H5T/vDdILwger9Ab21cmZzmXR1ebiIMUvb5/iATX39HDQ0Nz4IGenMZDRRfAhnS3 mmsu8cpnyxlRHpXSm/rTNLXbKe2CpHIRwFiFYxg/br+IsiYE9JhJxhvLgeaEwfSMuui8 FDF6foF67MEk8D4HVZNwqUZ8ySX2PfMhPomZrwXnVrLliLmrU2WAS5OHv5kzWv4Fn5zo nvoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bLHR69tU; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si31577893plo.363.2018.12.26.09.08.14; Wed, 26 Dec 2018 09:08:29 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bLHR69tU; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbeLZQyC (ORCPT + 99 others); Wed, 26 Dec 2018 11:54:02 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39876 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727263AbeLZQyB (ORCPT ); Wed, 26 Dec 2018 11:54:01 -0500 Received: by mail-pf1-f193.google.com with SMTP id r136so8044979pfc.6; Wed, 26 Dec 2018 08:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=+Yn9bPTbkLifv5D8U//ZYbgNmgR5ZNAfBYCx0gbDmrY=; b=bLHR69tUAWUgHb8yYnsHqs7B5kY+NKEYmwgAnE5U8uozwRRGYJ90npIj0fbI1eI4pA ynGdhm8j6UFZnMbDKbZ2tM0yfFoEgB4TockPob524nocOE6rvjY2jTVwXQGum4TMSsLG gk4e/TMB6UHwmW82Efj2XmdtwtET99aVA3ldbfXy8Whw8XRJJGzIunJ7loromIaD8rqj MyEwGfepamgFEsrr2JELnRA459nRfQKOaGa38CUVTXEVF6ZaVx36xX/OvdntdxlGjHMG fGQxsCOkPBwoAcUvuU7TEeQMzmLy+hHDCnnYEYuAWYCGNuh4+hRM1lOJ2ET76aLn/g3k 82ZQ== 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; bh=+Yn9bPTbkLifv5D8U//ZYbgNmgR5ZNAfBYCx0gbDmrY=; b=cK4/RewJNjtJu2BOPLK9eycw1rODAiYMwt2Xdmc2tEwXkEW7Zw1s91N6657DAh0Vbu ctDfKT1ItQlbM1BQdeLePnWNHdJ7JsqOmQ/GSFhhAUmQleCJxJEnl81Do+SjGNCrpLIt a8yJdOkDNphmufxFVHxeuGRjkD9tef7QC1Tw3Xh0Iz4LImGIzk2OlApfMBR/58SAzYSW 4uTcJSgmGHE6XRGww/uvuztPonC2y63tv0kIyjd7Y+C0zxl/G6hFjNcsBgJy7bTosO9s MIadNEBQG0VppetrAW9FPV5eKqH6iszpBpS1QSN7pJhvaa1ZsS/kuC3KJ1PEdsZdV/8k SdvQ== X-Gm-Message-State: AJcUukdoSv7eOiCk72kCfeB4NEH1ndZkyqS3yw7kVFBgcrMujlmUrAYX zUHvOU6DgtRk74JxZrQGdVA= X-Received: by 2002:a63:585c:: with SMTP id i28mr19743118pgm.178.1545843240333; Wed, 26 Dec 2018 08:54:00 -0800 (PST) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id j6sm57897980pfg.126.2018.12.26.08.53.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Dec 2018 08:53:59 -0800 (PST) From: Yangtao Li To: sre@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH] power: supply: remove some duplicated includes Date: Wed, 26 Dec 2018 11:53:57 -0500 Message-Id: <20181226165357.6426-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We include of.h twice. It's unnecessary,so just remove them. Signed-off-by: Yangtao Li --- drivers/power/supply/power_supply_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/power/supply/power_supply_core.c b/drivers/power/supply/power_supply_core.c index e85361878450..529721660e68 100644 --- a/drivers/power/supply/power_supply_core.c +++ b/drivers/power/supply/power_supply_core.c @@ -156,8 +156,6 @@ static void power_supply_deferred_register_work(struct work_struct *work) } #ifdef CONFIG_OF -#include - static int __power_supply_populate_supplied_from(struct device *dev, void *data) { -- 2.17.0