Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp246257lqp; Mon, 10 Jun 2024 02:46:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlM1Wd2BaGoxHuncn12AReHAD9Gu6KEfF8xzcDd9N+bY+r6iKzSQvQ3Er3dDiscLVpxufuZ/8Ii8M1WfPjafmFhCKB+CFle6BBBIv7MQ== X-Google-Smtp-Source: AGHT+IEA2zjSSp/0mMcPxRcC/uNJBGM8piDkV/EiOYoz4Nh3zUljYHZn/vxXL0gsqgul4vBodXn8 X-Received: by 2002:a05:6a00:ac1:b0:704:3271:7c0e with SMTP id d2e1a72fcca58-70432717f24mr6609531b3a.6.1718012805202; Mon, 10 Jun 2024 02:46:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718012805; cv=pass; d=google.com; s=arc-20160816; b=SD9HzGj/R7Nr+4X8OJnTHj4lv8pPK9RxtgRnmzILV9V5TNFr2xHPhpJCv8SyXyFumF Ej6KIsx+lj5yhnyPdLgsgeG9WvqnBtmhN2Rhj/lscJY8VKrSRlP+0S0SFvBmL72cNLk7 cO3LLw3xTn25Gk6MayqeGtQIesG9k6b/UezaMISsmbbLf/o+HOyj1MfGkh21OhdBk8Ls N9QwV9wwdttgvN5iIj4BMF6bYk1KPsKgB8wTEbWQF1DdYlq+9KhJ7HawCasi/LxHjJB4 /RtmEj5iJ0crO7w6I6JAby8He2aYTeZd1Ix4aUePvgurGbKkBKhhdn/TSKY+IbVZ221a j2YA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=5ujLML2QXMFKALZISgEcgTJDQ7PnkNQE3qzbK5GW+QQ=; fh=JOCzAQfrfTFNmIjNhI5H8yzGALDgHHxX8mnNyye9i0k=; b=B4GRoVNINs4GOmiwif6NbNFaIw3C3JhFFbhDowC90JBV7f1W5Lctda1uBxjRmODlc/ SZ8SMrMGdo0E0G7fUD96hVpCAsdtSS7luQbWH8Hrb3Ne3HCRaVcngzjFYjxXedkHVUEE klbfvj3EmOEI6mPC+t/DHM7K4brES9E/wFFJFwnnas1Ylr6z/Ty81tabN2JNK2wEhlAJ 8YxnQGR8nBywrzUog1RL9CktyJtK+i46VEIUVJ2Y8zvBJlTIaOxboITVZlrR/LCi7uGE ZJcYFiiLuHjupia5uS4HnpnS0Y82u+1MUP7Se7AP1Rq5cv4nTMESFnsm9hLgBN0w0gf+ Gsnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Twer1ZAu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-70417015c17si3830971b3a.74.2024.06.10.02.46.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:46:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Twer1ZAu; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-207924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C7760B23A4E for ; Mon, 10 Jun 2024 09:13:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 036F674042; Mon, 10 Jun 2024 09:13:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Twer1ZAu" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A45CF6BFA3; Mon, 10 Jun 2024 09:13:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718010803; cv=none; b=bVI6DpWB2rzhTXre4GGikEYk2eOa70wrq/qE2gtTRYPHDrxGhkHo+Rs6dV2lpcLz0ipz1vul7Z56rIe5huELBkFk1fHpWVxDQmoE8q2qn1ZkV5gW5TOq86a29U9UEX3LvY5RyGbc4bb2fCZywPWhDb2DqMBnfHwgAG3GZQ7ZX0Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718010803; c=relaxed/simple; bh=5ujLML2QXMFKALZISgEcgTJDQ7PnkNQE3qzbK5GW+QQ=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=ezaU6iFbp2xC5KGQ1xZLKhMLzZ7S62OuEzFNmi9/eUeNVcLCvBs/rUNgmlxktTq1tJSFcyexocfbsS+4AY231fWhjO0Okd6ubgmiO0R5rje1DxYwd8onXyT/SCUWA1tHuuinx9db7G9xYyk61UqZY8yGxcQE3Vm6vcMb1+vI9C8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Twer1ZAu; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-57a1fe63947so5233461a12.1; Mon, 10 Jun 2024 02:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718010800; x=1718615600; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=5ujLML2QXMFKALZISgEcgTJDQ7PnkNQE3qzbK5GW+QQ=; b=Twer1ZAu4wG+VHC+owo6ZOXgH1jgF9InZsY+oQ2+9tBb7h7JIgwtnUvfT0OgQiJJCc zKtYWEFZ37zRVn+rF5ppDzxtL8OjhkyRTCyjabAvSpJ/YxFci8mxyc/g9/XRN9ZeFCBL 6kU58d8WenwFxjwG/Dt2XkBA20rXqtkXGtsTCs+hQCItx3Fq6iiBtSvSyd3u2Ujv2mBd 2MwW7mVeG95ceYRIBVlKphT8UEKpFc+5tADkQuD1aDoHgM8QzHfX52gg+CYqb5f51EuX vqwK10duJcTaM5Z6XkvOdSbMnAnXMcb/uQa+BIe0SmbeDwmE5nCT6Nvgz+iFeYCGsCbM ipsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718010800; x=1718615600; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5ujLML2QXMFKALZISgEcgTJDQ7PnkNQE3qzbK5GW+QQ=; b=YpLarWe50Jw7nXbYK2QNX76qg3CzARPRyGHhSkV0cFvmQdDJeJ/sMcqHzYQwKzFfOz LrCJk+tBBNmLqArE6BTwAEx7spFYcrrKJj5Mcler0yFlrCJ7lcxcozA4GFeQc7L5PLxm Skk3a6UoT2cejeF3ypAQY57MRx7zEol+rBCmLDAarXa/Hx0gBCZ8S5YXOiwqj72nfXoV la4CICscIQ6OZ7FtfRjc5GNBSIJjvYSYhXguNe2VmYUiUh98Ypi4TNQVtZ5II5RSz7pu 19la5FUSYX+JV49h2sGfX/DcRZ6teipZQnQvobvBUyjlGyN0J4BSIdrJ6MjiK46sr9gx 56XA== X-Forwarded-Encrypted: i=1; AJvYcCXzApuGgo0EQh9W0uNPWVzBtuMw8ABGLAkFEv+lEta7KllTqpBeU2nMd9zh8o0YIR7o0HnCFk4XrNz8E+yvygX8NFAgI7hNO0ZjNe4VwDeQqrjv6nGCTRJB1fC3V2uaK8ktwgFs5TxOtL0= X-Gm-Message-State: AOJu0YxsepPw8Q9jeGfTZT04aLWPMH2sBPmnJGSUA1pTbMGHz9LinRfk j1984E6qX10pzb6RB8bbUJrHuzUX+EQ5dh2PNcNrYNwlc/aPunNa X-Received: by 2002:a50:8e55:0:b0:57c:75a1:2a14 with SMTP id 4fb4d7f45d1cf-57c8c30766dmr385139a12.12.1718010799677; Mon, 10 Jun 2024 02:13:19 -0700 (PDT) Received: from ?IPv6:2003:f6:ef1c:c500:ee59:d953:f148:40ba? (p200300f6ef1cc500ee59d953f14840ba.dip0.t-ipconnect.de. [2003:f6:ef1c:c500:ee59:d953:f148:40ba]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57aae23a0d7sm7124719a12.95.2024.06.10.02.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:13:19 -0700 (PDT) Message-ID: <9d76c55ccc1602ae329e33ac382e3ae68916d882.camel@gmail.com> Subject: Re: [PATCH 1/3] Input: adxl34x - use device core to create driver-specific device attributes From: Nuno =?ISO-8859-1?Q?S=E1?= To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Michael Hennerich , linux-kernel@vger.kernel.org Date: Mon, 10 Jun 2024 11:17:07 +0200 In-Reply-To: <20240609234122.603796-1-dmitry.torokhov@gmail.com> References: <20240609234122.603796-1-dmitry.torokhov@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Sun, 2024-06-09 at 16:41 -0700, Dmitry Torokhov wrote: > Instead of creating driver-specific device attributes with > sysfs_create_group() have device core do this by setting up dev_groups > pointer in the driver structure. >=20 > Signed-off-by: Dmitry Torokhov > --- Reviewed-by: Nuno Sa