Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6180676rwb; Wed, 18 Jan 2023 02:06:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXtdrbq1BKCMnAml9qd2x7PKsVRVqY46/zLCrprGqvf3gYWhLYMOUg7qfh6FKmCOi/bWE2fi X-Received: by 2002:a17:90b:70f:b0:228:dc6f:fae0 with SMTP id s15-20020a17090b070f00b00228dc6ffae0mr6433162pjz.30.1674036416169; Wed, 18 Jan 2023 02:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674036416; cv=none; d=google.com; s=arc-20160816; b=LO8U3FXNGRSUkxIxn/VNqeaLmGeWCGyUNvsRy3B3qL9yq5zxXZ/+DLVTzD1M2Hrhfz jYnx2AWOPVAUoI4VdRyAlW0tlPbba4wloQaGUStLNonATjEYWVKiBUZBhuefhVJ84Dne 8Qz8QXO0dS1O9VArj2m47uENRHOcGi6ng+5KhY+M08Xdlldeg6DXeBTQQq+q9clq/gr/ ItPjCRXBf799ycZY5+GpKAn3qvm8h3552YvNSez2kDSrvDBaTaZuqFHJ3HX2W5Gr73U7 41S+Eu659+FB4qVnB8ROjwvrdIEgoww25cGbpBrzeTeTCiW4uAjQ/iwqSF3pUKHhKvaQ 2CLw== 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 :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=H+e5QGNpPTZ1f0FndHJYiQLKAZJUALVlVTF2P2ccI1k=; b=UdvXEezOWcpT+c0mX4lxcGfodSdqsObQBTcJ8AoFkgikB9b7ed8u0rHomPLf5pJ0sj yEAY3HEv130pbhmMlktKsPkujyoa1EtXesbzZC3yWndTCeQy0zFrYiOvTSiEm4v8Y+Bx wflHSfZ1zJb4ENOEQ6SphpKN+mxeEafKCdrRgpPvJnxRpiwfosonRZnU4h3H2I2Njx9K KFu8zOx3f12lVfE8dXBTh0370hdBp6fHFc6ioedm8+DOUx+iLFeqza80kI7O3cIif/rz eop7jIS8v/9PODoBb2jD+ddfflYyqshFrvknyU4Ut7iQ1f6ujA/09qHOYRv/gcvlJ209 3EKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SXiCadhB; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oa6-20020a17090b1bc600b00218641b1acdsi1668625pjb.68.2023.01.18.02.06.50; Wed, 18 Jan 2023 02:06:56 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=SXiCadhB; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229819AbjARJ0r (ORCPT + 45 others); Wed, 18 Jan 2023 04:26:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbjARJVP (ORCPT ); Wed, 18 Jan 2023 04:21:15 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E0475738; Wed, 18 Jan 2023 00:41:45 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 33C6761711; Wed, 18 Jan 2023 08:41:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EE5DC433F0; Wed, 18 Jan 2023 08:41:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674031304; bh=JE6oTJJg8zFAswHFzhsBSx8vEF1SwFX6/4C5ABy+iY0=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=SXiCadhBShJUM4bmF7D7uYdxd18+idPeX426h+8/2OoSg8BH7luvDzHApwhpt0GQT IQ/QqI4S5P7ABpQWVyO57qVJOg0NK7V1ug6ArMVmXJvAXDk60KRqZWJZTSAvBXZPv3 zrcs4ZZqDdwvl55tEObZSRpj/0JX30tJzNVcPDGAFNXtx72+Z7QYEX8x0jRgagALTN Z6PBATJNH899vMzKeaHHbE3lHncUCOWRhQTZYK8OTMjghMbSmudRLP5Du5R0Xnip8s FfhoMSC1X/rjjsFNfDHV8Qhbf50QGaV8UESRswYVw8UNVavcQknwQFLb/icxb6dCFv CZ4/yMJ3GrLbw== Date: Wed, 18 Jan 2023 09:41:45 +0100 (CET) From: Jiri Kosina To: =?ISO-8859-15?Q?Thomas_Wei=DFschuh?= cc: Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] HID: i2c-hid: use standard debugging APIs In-Reply-To: <20221223-hid-dbg-v1-0-f641e80263eb@weissschuh.net> Message-ID: References: <20221223-hid-dbg-v1-0-f641e80263eb@weissschuh.net> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Dec 2022, Thomas Weißschuh wrote: > When trying to debug i2c-hid I was not able to use the builtin debug > mechanism because the "debug" module parameter is not writable. > > We can change i2c-hid to use the standard kernel debugging APIs which are > more discoverable and have more features. > > There is a bit of a stilistic conflict between consistently using > i2c_hid_dbg() and consistently using dev_(). > > The second patch aligns debugging on i2c_hid_dbg(). > If this is unneeded, feel free to drop it. > > It would also be easy to just use dev_dbg() everywhere for consistency. > > To: Jiri Kosina > To: Benjamin Tissoires > Cc: linux-input@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Thomas Weißschuh > > --- > Thomas Weißschuh (2): > HID: i2c-hid: switch to standard debugging APIs > HID: i2c-hid: use uniform debugging APIs > > drivers/hid/i2c-hid/i2c-hid-core.c | 15 +++------------ > 1 file changed, 3 insertions(+), 12 deletions(-) Applied to for-6.3/i2c-hid branch, thanks Thomas. -- Jiri Kosina SUSE Labs