Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752248AbdLHIHn (ORCPT ); Fri, 8 Dec 2017 03:07:43 -0500 Received: from mail-bo1ind01on0111.outbound.protection.outlook.com ([104.47.101.111]:55936 "EHLO IND01-BO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750788AbdLHIHm (ORCPT ); Fri, 8 Dec 2017 03:07:42 -0500 From: Dhaval Shah To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Dhaval Shah Subject: [PATCH] misc: ad525x_dpot: Unnecessary space before function pointer arguments Date: Fri, 8 Dec 2017 13:37:30 +0530 Message-Id: <20171208080730.14872-1-dhaval.shah@softnautics.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [219.65.63.222] X-ClientProxiedBy: PN1PR0101CA0047.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::33) To BM1PR0101MB1444.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:20::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 219ac1f6-87f7-4f3e-69bd-08d53e12be9c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4603075)(4627115)(201702281549075)(2017052603307);SRVR:BM1PR0101MB1444; X-Microsoft-Exchange-Diagnostics: 1;BM1PR0101MB1444;3:5JykG7yZnPgxkhMkKPlGkMNGYugAxfkVpOM5M6fHGuQpzunhBqCol+OUdWqj/ouw7c6hzVFe0RdgTUsbfAZnFP/sU8S8ekdduRBIVuNFevDMpbYOpOvtcA18elca6xhYfDHwNr9CDZRpjkvuZiLiDI9FqOLPomysViORsXPZONwOC1WSVvHKmmMSdq479FQig1oOAslWSKunKxCc4MBAmQdklwpaOL9ssggQpKVUB1ru+rAfxSKjyqCYruIoax5x;25:JS4c1szjhBtOBNghedZ73u+Kz6TUE1CT4qB+vAiFqBOZldb1YQHVbzhRs1D0k6Ws90ylspPJzYDkAP0BYxxcbvwB5k9vJ9n/MPGK0lRACbjSYjGJayO+X8g3pFHK5wWXWVc+L1xwOdZXV9TGeaJqHPw9VFXsE5qrwOsjy+00RJUug4q8HByd8yHtwsvcn+9JnHEtdc9isI31cf1Gq7DliU2ANkJMtYjsDPTJwVnb6pQ5xuhUoHHv3G9ihL8+5d6UCYbJvljDwnfhU6IroK/oXgk2HCrkuwCBGD71Qzm7mjpTjm8YKlmbIlpDAI0+OZvKsH+XhW4XrPlGp9zUPiaWrQ==;31:Nr32cagyOyimdePMDs8uuiVlUfkz+4nPt9tiQBvFiJ2WEWoq9T+66V248zOyWj62liqnqjc3CT5K4LgMvMiH5P8pdRfQIAlQZqOeUT682qqkJGI+tQQ1FQP9LIFiUeXc0ZQSJ6A+6KJH+FiP0WfkloIAEe4LIi/BCT1co6rDdRYtaL8Ssx+Z3vLRGeLHGQ1puAH/VwWJVINI0wPsd5BUxujoG3zagMd4dw+9MmgwxtU= X-MS-TrafficTypeDiagnostic: BM1PR0101MB1444: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dhaval.shah@softnautics.com; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231022)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(2016111802025)(20161123558100)(20161123555025)(20161123564025)(6043046)(6072148)(201708071742011);SRVR:BM1PR0101MB1444;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BM1PR0101MB1444; X-Microsoft-Exchange-Diagnostics: 1;BM1PR0101MB1444;4:OBI3np0wePo3jG0m7gHH8cEGCRUkAFuV3JJP3hvG5GH+eOAxNGBZNLuveZcPWWNpwvG0ANaFDqD4v/B/5Cyuu/mSpc//W5rG0K/WQbK6AVmXJTXiNAadImNRF6UfSMyWQTPVTpiHtt7Ltx7WguCoQ6N8YFQUWZQCGFQWNzr7ojmtnHQUQjMiXc7xFAsib5t29sQspO8RyGM45G0nJM6Th7kXdErmthWhhJZqWsQtwa1RGgjY+qco0p3CaDdQJ1sQbxm3gp4ci2rBFN2yio5VBQ== X-Forefront-PRVS: 0515208626 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(366004)(39830400002)(346002)(376002)(199004)(189003)(50226002)(478600001)(68736007)(52116002)(305945005)(107886003)(4326008)(97736004)(16526018)(6506006)(105586002)(86362001)(53416004)(16586007)(69596002)(6486002)(51416003)(2906002)(66066001)(81156014)(316002)(81166006)(1076002)(106356001)(48376002)(8936002)(47776003)(33646002)(6512007)(7736002)(36756003)(5660300001)(3846002)(6666003)(53936002)(6116002)(8676002)(50466002)(25786009);DIR:OUT;SFP:1102;SCL:1;SRVR:BM1PR0101MB1444;H:piyush.sibshivalik.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BM1PR0101MB1444;23:N8qpCp09AK0rOGccKqC2oSqLAY7VK3rRjbjb01x?= =?us-ascii?Q?l1NdNo0/a1RvNZSVYeBLXUvKNUgs/3VkPpZ6OF9ffEeti81mOgIExumWOgoq?= =?us-ascii?Q?SEzCEF9dvSEKHFgujvwS8zgMDGIw6/YKZV0vJMRYQAchlrOoLp2mFPACj6E0?= =?us-ascii?Q?e7Uq6MNPaFfoS/cyiY5t1ADdHzMgq8a7ILQh92737DhnGEvIYBHqJoe4piCU?= =?us-ascii?Q?+AaTUYxWiXX15fa2BsFlUvpysxJ1uVpVl4agQLXY9q+p6aducAKrMyo/WyIk?= =?us-ascii?Q?bP1qkHM+xo/iYLXKm7mFPc8nEQu2D+se/6skYL0OEx1YOVyOBb8KXOYcItbg?= =?us-ascii?Q?xqDk4hNbCj9Y2zWdmVy8GjA2yJojTF23lqAjb4W1E8Rj8udlga6ct/2XgehM?= =?us-ascii?Q?9pxjeI7Q+6MDrkTbKFwFmjODcJ2yGrp/bwsqw17MFXfRc7DgaQ+lAPJr7J7V?= =?us-ascii?Q?iWbZ/tNxPoVv6qD+IAjIFijLEBmgH2tPVQprDMSeqoMHA5CrKab4pEcD7C5u?= =?us-ascii?Q?1kTavym7eZDyf/1j+53D0WOGiUIko+E09FabTvHmfXtJ0FyuOfLCS9QCfDzz?= =?us-ascii?Q?DDIENzL4/i42bCO24z6AWQAUIzwUl1LLdDDlFNgY4k+DruGFYfWfCjfgyLuc?= =?us-ascii?Q?TPwZBvP8gubOzS8/kTTo2xb/igGIef3eap4GM1AouM6jO1pCX4/9IBGT96v9?= =?us-ascii?Q?3+vgbwuJ5odijbVs/o3ov5sf391gGL7vWpGY90RdfyOOmoJ/e75pPY7HOrQ9?= =?us-ascii?Q?H6GxwvP2anH8bwwMPY6hb1EB/xgkwKomeuyW5vXlZpZY3iKBZpi4GQa5vuxW?= =?us-ascii?Q?JY7E9J37md5ekjMUW0N5TEQb/3BQYCdlORZugunHj6VhcW9iXKT464hGrsAF?= =?us-ascii?Q?eyegSKCKvQdDr/ZkNZo1Fd9TWrtIaXzaEzWuFEARNH6kRq4CvSAfAZAtyoaR?= =?us-ascii?Q?/psWOnZDS4iS01DaXRPYc6fScvxhh22pbbOGgLDhKhDKXnMqLv2Dehhdr4n9?= =?us-ascii?Q?nH3i4ffl2Zw7oYGvc4GAWjAzZ7XHZeu63GuzQY4paZx/cs8JzxvKIa6T1+yX?= =?us-ascii?Q?BWnzINSg=3D?= X-Microsoft-Exchange-Diagnostics: 1;BM1PR0101MB1444;6:55iScG0d3RqQPOGUKmSTSLqg+sLZk8PYgmblO+drJ/7KX4950V63Se8C5hUp30Q99V+tj9k8zgyJvy+ON/pflIp3sOVeqABPZyZYDIqv3AkIRHGvFHOfWELsWatsquNB/E5Gas9RNT0gYRNR5xK5tIqgYBVbD4reEK8qbEBwVVhoHHSavABIIytJn3jMUP1dNaxNYek6QuB1hkivcD+BVe7x6nv01aI8+G/kSFTTNQImcfIXwdLEJHKUPNVdcOHcNRUH4qspkum+AMyg20AasTVfbjSo1IV8U/C3Q1k7mAJ+RM2rKjKB2n9/R6hCpC4FGxBhnYwlH4lVnafF17oLBXpZGwGP/MvpDUaQkeHfEHA=;5:MKEfxdCtrEW2pmczsTHHzc2JQyQg+JiZeKGhMdlOzvAFlTJgTj0vaLA9Seai6QWKOwgZr15l4Jf3grDvtT7lHmA17XMBbgrCMIpTK7peoMptlRk0wApeal4xt1LEI8H2L/V9mvbdV6DgiGXtk/lShPnxsDiOS7KwnLIWa6d1dv4=;24:JnuJsVUGjiTuCeHAKy0x6dGTRqUf4ykRlYV39TmSB10W01zQ5TMQPBW90WR0lsqt4Lz1wN3C3KB4lfoJx64jFS0jldkAXfTn6V1S4EGGF44=;7:srp6TsrtljqW8L4yuWl/yhINWEKPZ37wu9nRFksAOlpvSoyvLpt4bt7bjzwluY7jncx5ouvpvvQYlH8qQKJYiOqA/TXlPDHQLMjn7Us3JZENE/n/PYXmePLKxe6vGY8o+qJfN5Pk3hQCCO7zVsF4zMDbznzKEy2RCt4iuZCJSkiSseoJTFRWT7bkz2MnNHrqrxdIWtfLadnVT3EOJbYuWoSQzb5/PnDoRFMlfo6QAts/0r5ZsCp5dvpK6fEeQHjy SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: softnautics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2017 08:07:36.9954 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 219ac1f6-87f7-4f3e-69bd-08d53e12be9c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 17b76cff-50c6-4f7a-9198-dd4afc5f8bea X-MS-Exchange-Transport-CrossTenantHeadersStamped: BM1PR0101MB1444 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 33 Resolved all the Unnecessary space before function pointer arguments checkpatch warnings. Issue found by checkpatch. Signed-off-by: Dhaval Shah --- drivers/misc/ad525x_dpot.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/misc/ad525x_dpot.h b/drivers/misc/ad525x_dpot.h index 6bd1eba23bc0..443a51fd5680 100644 --- a/drivers/misc/ad525x_dpot.h +++ b/drivers/misc/ad525x_dpot.h @@ -195,12 +195,12 @@ enum dpot_devid { struct dpot_data; struct ad_dpot_bus_ops { - int (*read_d8) (void *client); - int (*read_r8d8) (void *client, u8 reg); - int (*read_r8d16) (void *client, u8 reg); - int (*write_d8) (void *client, u8 val); - int (*write_r8d8) (void *client, u8 reg, u8 val); - int (*write_r8d16) (void *client, u8 reg, u16 val); + int (*read_d8)(void *client); + int (*read_r8d8)(void *client, u8 reg); + int (*read_r8d16)(void *client, u8 reg); + int (*write_d8)(void *client, u8 val); + int (*write_r8d8)(void *client, u8 reg, u8 val); + int (*write_r8d16)(void *client, u8 reg, u16 val); }; struct ad_dpot_bus_data { -- 2.11.0