From patchwork Sat Aug 13 09:06:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 9278369 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 0438C60231 for ; Sat, 13 Aug 2016 09:08:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E80DA28ADB for ; Sat, 13 Aug 2016 09:08:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCE1128B1B; Sat, 13 Aug 2016 09:08:02 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 EDCFD28ADB for ; Sat, 13 Aug 2016 09:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbcHMJH7 (ORCPT ); Sat, 13 Aug 2016 05:07:59 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:34164 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752384AbcHMJH6 (ORCPT ); Sat, 13 Aug 2016 05:07:58 -0400 Received: by mail-pa0-f65.google.com with SMTP id hh10so652590pac.1 for ; Sat, 13 Aug 2016 02:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YdUUWsU0M1zL/xMo5R2Wb7qHZhfD15facEtnZRn30r4=; b=jmchYy1Kdr9AKjEedumh+AsWiSswLxniRA5oLsbmOF0SGGo6dWparX9ZxkCbOkHnQm mEHct8XsES3n6OOVtO9osfX07ZjiqUVYUjFPs7nd68lyiA0WmYcxFVvwiRa60mnN+C9Z L7UaxKhPNRt+1IbfxpafEWPUU4wDfxx1x/1J6dz+zt9IdmnjpiewyDA6Sx6tmjD8GsLf Si9jgKwwVscPugAxs0mj5zyn1TblLFvIXDAuaaSbBqn//1nNK8eUJsb6YJmdeqf6dDJw vP7HMEZ9+Dct7iiwMjReVq5Jq0Ki5r41+g5GzMCDMibj/Z0RFqbHBFDvaBiLOGgzR9n+ pccg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YdUUWsU0M1zL/xMo5R2Wb7qHZhfD15facEtnZRn30r4=; b=m6L7gdyTpZSfSK0cWm6ZrnFXaL3QHh3Z3oCOCDKkwhkYxsKSKrOyVWyc1yPzgzYlMg iSdhDxb8SM3FrAY/6E2NXPAM4ltGoXB1w2PIIs71L7Uf3R9/pq+uZxJxOmvNVrk3YY50 j396AC19K4lOe0/o4jx5RlUMOhITdsxyIQdyonOlxyEy2BGpIWz5wBXgkMOqSUVs9pN0 Dx9R9XFxjw5ili/KSCSobjOY41g6jWyxpQLWHrQsHNJQ2lGPk7ecWCWhCA7x4eakgV4S fuypdIKI3dAYp+DVIe7kEJgkpGDyOiF+8BnMmDlmlckgu5ZNeAVha9ky5RbfCQVdYOkX C4Bw== X-Gm-Message-State: AEkoouuhAkJdVgiBovRtqqloBX6aeZ+MIw3PneVcV49aO8WNL5nHvmq6CBhi5xbLrKwWdg== X-Received: by 10.66.123.42 with SMTP id lx10mr34573601pab.95.1471079192533; Sat, 13 Aug 2016 02:06:32 -0700 (PDT) Received: from bogon.localdomain (ec2-52-192-197-227.ap-northeast-1.compute.amazonaws.com. [52.192.197.227]) by smtp.gmail.com with ESMTPSA id t126sm18654308pfd.28.2016.08.13.02.06.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Aug 2016 02:06:28 -0700 (PDT) From: Wei Yongjun To: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse Cc: Wei Yongjun , linux-pm@vger.kernel.org Subject: [PATCH -next] power: z2_battery: remove .owner field for driver Date: Sat, 13 Aug 2016 09:06:22 +0000 Message-Id: <1471079182-9574-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove .owner field if calls are used which set it automatically. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Wei Yongjun --- drivers/power/supply/z2_battery.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/power/supply/z2_battery.c b/drivers/power/supply/z2_battery.c index b201e3f..8a43b49 100644 --- a/drivers/power/supply/z2_battery.c +++ b/drivers/power/supply/z2_battery.c @@ -317,7 +317,6 @@ MODULE_DEVICE_TABLE(i2c, z2_batt_id); static struct i2c_driver z2_batt_driver = { .driver = { .name = "z2-battery", - .owner = THIS_MODULE, .pm = Z2_BATTERY_PM_OPS }, .probe = z2_batt_probe,