Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1677992pxb; Thu, 4 Nov 2021 06:40:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvg3NmPiF05nGJiwz0vqBFej9rYj0kzX/tw2/vKDceUpPTaNaMX9pDOMsivVLTK75mqPR3 X-Received: by 2002:a17:906:c18c:: with SMTP id g12mr65135295ejz.458.1636033202912; Thu, 04 Nov 2021 06:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636033202; cv=none; d=google.com; s=arc-20160816; b=SWZ0vpZYGxUhJAXjBRSoUZvDuyD3/7yBngCFpSTrcFSFqhppmwXqPWFnFbiO9bfocb 92rjoZdjPYD7jDHdhqvoY68jyHgxTkdKaL25DAGM5FojNKSRXunR9Z7v70hPA5MpCeWS mya9ppo3f8xYemV8dW45xuXOSIQHut6lFb1HrkwE31eEwbK6rLAc933Vb8ic+y/xl+Yy S4aZTcGzG0FGS6bgXLp+BYFROALfJRJbWqWvV95gaqM5+ffK/m3UDVfiJ3MZNnkcmPdW xXvNTGnwG5bmJnBOuiKMcFqPWCynRKGaN/6iJ+sQhyAODg9xOWUV6unuCnuFznDgT3Ge tB3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QS6Lt1L+DGmDB+jLDHscqZsHcow8fQs227TtcsPIh5s=; b=bNwHhSmmF/vMI4y7WA31+q9fFDSJtst4TGMwvYfYXze5MnLV2b/zSWEdmCe79wVlGE RyuxHo6HhkhWhU+KmNd4Knr6sNfokyGNfAHnzvtvRdvLhKME6JGGPv/PMFRD7oHKaNVI uL9Jru7pYSpLMW3JC/mNof79UrDResxUYI9BTfkGF41/uHlZnBWkeorCfB1S66OQ0dlx N1Jish+nKN66dfvnoZr0aU9eM3mqwPUrCQOfpgauplg0RD51BS98HyTFvsQCg2UUQ7Bc No0fxL3QRfQLf+OS2VTZ27sogjD1Y3fTmh8kJsbvVj61Q9cWkNnla7/FUvUXRc4TDBSb etUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ho36si8839000ejc.607.2021.11.04.06.39.38; Thu, 04 Nov 2021 06:40:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231501AbhKDNkC (ORCPT + 99 others); Thu, 4 Nov 2021 09:40:02 -0400 Received: from mga12.intel.com ([192.55.52.136]:50270 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbhKDNj6 (ORCPT ); Thu, 4 Nov 2021 09:39:58 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="211755198" X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="211755198" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 06:37:20 -0700 X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="501542021" Received: from eyulyugi-mobl1.ger.corp.intel.com (HELO tkristo-desk.intel.com) ([10.251.215.15]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 06:37:18 -0700 From: Tero Kristo To: jikos@kernel.org, benjamin.tissoires@redhat.com, mika.westerberg@linux.intel.com, tero.kristo@linux.intel.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC 3/8] HID: hid-input: Add suffix also for HID_DG_PEN Date: Thu, 4 Nov 2021 15:36:56 +0200 Message-Id: <20211104133701.1733551-4-tero.kristo@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211104133701.1733551-1-tero.kristo@linux.intel.com> References: <20211104133701.1733551-1-tero.kristo@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mika Westerberg This and HID_DG_STYLUS are pretty much the same thing so add suffix for HID_DG_PEN too. This makes the input device name look better. Signed-off-by: Mika Westerberg Signed-off-by: Tero Kristo --- drivers/hid/hid-input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index e1f7cef52afa..05449fa59dc4 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -1736,6 +1736,7 @@ static struct hid_input *hidinput_allocate(struct hid_device *hid, case HID_GD_MOUSE: suffix = "Mouse"; break; + case HID_DG_PEN: case HID_DG_STYLUS: suffix = "Pen"; break; -- 2.25.1