[RFC,v1,3/3] HID: nvidia-shield: Remove space prefix from label in shield_haptics_create
Message ID | 20230529222052.68913-4-rrameshbabu@nvidia.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1800292vqr; Mon, 29 May 2023 15:31:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ69qSOXl+j4sHoif/COyTTXoRmuIBhZnpX0yfnLFhgfUjVfQ2QexWe6DzttQqhwC60n4l+K X-Received: by 2002:a17:902:f68e:b0:1ac:6b92:70c8 with SMTP id l14-20020a170902f68e00b001ac6b9270c8mr431369plg.48.1685399511695; Mon, 29 May 2023 15:31:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685399511; cv=pass; d=google.com; s=arc-20160816; b=rXRowpImozrGmAvFjjUU1BlSFBbhvMhLbKBp6cl/IjqAuc7dk3LXhD8QcEi3MDwWY5 pfk/TfR3CcOPQj4nWqKmFpB99xtaExpmy7XaDhr67kC/gNze/nd32wQyGxiNKLPj9QBB hZUxOWj5bJNn7XhxlgbchWmmyLhtEetoHhw3Ob/MokrbVS1Rj84Ymnxf0qQ/Gu/qoedn StWaOm/nTmAd9YUvbEpr48XgyIMzP5t1WJCWe5joJfVdb48uCN2gTMH4YanYg6PbnZjh SzDxZO95kGXn/xoGbzBzDVeifb0ZhH4pfTYc/feJYbKV19x7whk1raVQJnKnhTDVtuf0 HrBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1Y/99eWkTe7Ip9O/z1iHWLHlVTk4HlnJtTJku0CXsck=; b=by62ZX5fZo9wMV3YySkYKF4MNqU3zo4qnjFJCsAlqfWuA73EQuWA/Ac4KYmRiv4SBW Dn7PTbE3UC8+22ITk5XJaOw6HJziEMLB04tEHquPGW/S5xEgsXt7jmN2FaKdyoSXc3P0 2LxKJTNlntlbBruxDKiTNzJ4ZLix02h4i6oIoZt+J3MgAe8dAkpDS+8kKREJIwXtZTgp jdfjdFCxTer1JcB0LP4YandGZUul2+fmqI0Ud60yz9Optk/MvDeBuSXd2NtHW3axegvY tbyOaojp3hQbCLE4NQLuv6l6o7tLN1tqzgCTLVGVbp3qLU59yTpxJK85dpbzvoiR0N3w mAsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=FIDrBLOL; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a170902ecc500b001adf56751ccsi10980802plh.520.2023.05.29.15.31.37; Mon, 29 May 2023 15:31:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=FIDrBLOL; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229587AbjE2WVV (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Mon, 29 May 2023 18:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229903AbjE2WVL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 29 May 2023 18:21:11 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2075.outbound.protection.outlook.com [40.107.223.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84F4292; Mon, 29 May 2023 15:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z2w4P3ilLQ8KagGuGhsO+NBUqq/ctLYmxl+71TN3jo3bn+6qemWumZDDXRg5Tqalu8BiSXz1DpnG1ox7r2PYn9g3X/YqRchUAubXp2LfwBm9D3+lgH3LnZ+c/GArTq4SjqvD+JSkaUV6ElBzMkguN3Jn12TNRVHiVWVOovJFbn+x0FHO3O/b7FJZi9rM746kupuJk+MOElDcmZrR2v7g3hvp8+1AMmPHSW/chrT+3DMi//yu5UjwGrdz41CECMZOWMN7Ykn3OnYeS8uJJ8N9x6xVq4gecLEWi+9nkH5KTlFo9oJCobd4aeTQFiPxAqh2N9D+IJIXBbJQxYRGQzK1tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1Y/99eWkTe7Ip9O/z1iHWLHlVTk4HlnJtTJku0CXsck=; b=VYjSIv+Tdpnb74QuUlE7m76mx8yxP9QG+bPY9FsCFTLwuOhB9gawph9agVKjMZcjwDZL/jSZXVE2qSF0CtwezGFdHzfD6PodUnqHnFqqweLGawggUZ72rxzn4+CRU7j17GG0BnYxtd12I0k4iM9PHZ28yMHlQWm+Tat4UqULf545IuA/Fwi7CfhpfyteWuyw2mzxrWL9x7Xd9oAutI6s4U8bjSuU+AZ3lo7acJHVsUFMcwoI5pQ7JKlr6kdwZzzYTjhVjYBiczAoP/9TtIGH2o5hdSVI/o01t9B+K0XjWsyBAy4f6HV56PpR8I/LlP82rXRpfNPFwtHuIKd+N00S+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Y/99eWkTe7Ip9O/z1iHWLHlVTk4HlnJtTJku0CXsck=; b=FIDrBLOLVXdyG+9fXqD8s1HeaBjhyG1J2+4NjXIO9MVnvxX+9kC28UxgIcHCuLyuYkDDZooE7aeICg9V57rt6TJc4tqPxpsgZ4m3tQL83FEV4miiKUKsg3As9byyMpZqYJqxq/zVDQ9u5uNKHLgkEIi9ANghoBpai1IoKPfbr4llG2CElUg3JP9sESUJao6h5c+BBz8acDA4bpGyk+TbWKuBm8AZvm3kmeuZlbagPT1hPSfaCpb4tarjpzH55WsnnglToOxniwMBvmYq5b4Zb2RgaameP8DHuFFVvTMdI0n7fkFiKCcUs7u+r98iikmvQNyMwTTD+8x8uVcUAqA9Lw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) by BN9PR12MB5355.namprd12.prod.outlook.com (2603:10b6:408:104::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6433.23; Mon, 29 May 2023 22:21:07 +0000 Received: from BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::f3d4:f48a:1bfc:dbf1]) by BYAPR12MB2743.namprd12.prod.outlook.com ([fe80::f3d4:f48a:1bfc:dbf1%5]) with mapi id 15.20.6433.018; Mon, 29 May 2023 22:21:07 +0000 From: Rahul Rameshbabu <rrameshbabu@nvidia.com> To: Benjamin Tissoires <benjamin.tissoires@redhat.com>, Jiri Kosina <jikos@kernel.org> Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Rahul Rameshbabu <rrameshbabu@nvidia.com> Subject: [PATCH RFC v1 3/3] HID: nvidia-shield: Remove space prefix from label in shield_haptics_create Date: Mon, 29 May 2023 15:20:52 -0700 Message-Id: <20230529222052.68913-4-rrameshbabu@nvidia.com> X-Mailer: git-send-email 2.38.4 In-Reply-To: <20230529222052.68913-1-rrameshbabu@nvidia.com> References: <20230529222052.68913-1-rrameshbabu@nvidia.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR21CA0012.namprd21.prod.outlook.com (2603:10b6:a03:114::22) To BYAPR12MB2743.namprd12.prod.outlook.com (2603:10b6:a03:61::28) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB2743:EE_|BN9PR12MB5355:EE_ X-MS-Office365-Filtering-Correlation-Id: ae99d667-12bc-40a3-03e0-08db6092ffb6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +zUgx2bJuchgLVcJwdh4eNHqLovY/2jXz6QdD23lChNopCTRZ/6nR1H2O0TINyK7drykjG7g2TzYJN2Gcwomq3/CQsXBEuXiWtlpIwQ7UkmbzEYbIoz9dYIWMFiXfsoGvkdaQu6ZkYw9eS+0aNoQqrZsTIPUeyLAq/BUTb5vku4mO3wG3uBFX9lPpJCiuO2T3MZHu8CWrxD8KfwXq9LhXkObpFM0qA6ZPFqWvO3ljpXzgf1lvGjPEROIgbEPSI432XBDb3sIFUx5f+JlUzrgaRuL5bi6AVsQxmaeioJRtCvKeRFT3Z+B5fjPSX5U6WcYhzecx0DPOKeD/jPBspvXLwxmJQ+vYJscDotnDveXuoF+rZWKRuHWMdnlMHqH8XnmrXervr5w1dC7xCWfWGK6wIwNRonUGIjXgubljDxAft+gXJV5yt0n7n7jCJ/Y+oF/Aun7dwIRVlx/nyLPXrfvCN26rRa0ZMB49TxWZvl4yWQV0UNETHNfw8teJefSbLl9y9bO1+A+BOeJwQhTgu/VbV3tfnysznXf8uLbIfT+kNOA5RXkNCmugR0cG46vE2Vg/I5lYpVN8aY6gaCFXF/JbTDEUd5VX02OXu9PxnMexlA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB2743.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(39860400002)(396003)(346002)(376002)(136003)(451199021)(6506007)(6512007)(4744005)(186003)(2906002)(2616005)(110136005)(478600001)(26005)(1076003)(83380400001)(8676002)(41300700001)(38100700002)(8936002)(6486002)(966005)(86362001)(6666004)(316002)(66946007)(5660300002)(66476007)(66556008)(36756003)(107886003)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: c3KvJq7um15qH5n/xSyD5ejc5jK3vppxImCBAKMwu8YvoEY7WqXE+aggxBGpP8LOQS6bJ3Q84dXCqzoV7NM7NJjykhKQTXdxCis8aOUV9Xr7K8EpPxWY+gCemyUNJmfXtH0loY8uqtAScsZwiSRgbCKfSxQJ5L+8hqEptf7lA+cvr659EtJPhWhtYLOdQsvoYVHvdH5RaIfsc2/2YXQg1LzQ5Sb5n+J3vvbqUm0t8bgGvUvAvHOLcvRl59YNsL3iuc7yUknY/cHLsyYRm21tw3I3ZaiplxC4Thl5FkH5FzTa9e5NOc/xw2Ws4ZT44QVPsyqspJww6yoQKs8GKoWBLVFhNwVShEsb68Sy5by/Ip/I18074wMT/w7UrErEsNKmbmiWXlbNCZAc/GbCXfmEM9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57R2BNLP0PQNLfLiJaPBEz+Tt2fNjEgD78yYcSyHcbRTghqQniNNHskmSx5ZpwSYbi2l2a3UbgS1kYevQH5WEZtAYridvTKYjo6E37k5Uml6jnDFtWohbyytRCjnPe1p0QNzZ11FPg3Bxkigsw== X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae99d667-12bc-40a3-03e0-08db6092ffb6 X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB2743.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2023 22:21:07.5890 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JiVT7HvSjmzdNkJE9ZW6XeQPF2ddzybbd3SgdZQWbxUhNb8fBJgd1D8dAlBzdrdjxAh9fVRQ+7Vzbx9QSpiUuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5355 X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767269478500541560?= X-GMAIL-MSGID: =?utf-8?q?1767269478500541560?= |
Series |
HID: nvidia-shield: More functionality on top of initial driver
|
|
Commit Message
Rahul Rameshbabu
May 29, 2023, 10:20 p.m. UTC
Accidentally had a whitespace character in front of a label used for error
handling in the shield_haptics_create function.
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
---
Notes:
This patch really should be updated in the initial patch that introduces
the nvidia-shield HID driver. Using a separate patch to just illustrate
this is a cosmetic change if needing to resubmit the original patch for
nvidia-shield.
Link: https://lore.kernel.org/linux-input/20230418203747.24000-1-rrameshbabu@nvidia.com/
drivers/hid/hid-nvidia-shield.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hid/hid-nvidia-shield.c b/drivers/hid/hid-nvidia-shield.c index 7dfaec1c07e2..85700cec5eac 100644 --- a/drivers/hid/hid-nvidia-shield.c +++ b/drivers/hid/hid-nvidia-shield.c @@ -202,7 +202,7 @@ static struct input_dev *shield_haptics_create( return haptics; - err: +err: input_free_device(haptics); return ERR_PTR(ret); }