Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1045155rwd; Tue, 13 Jun 2023 04:13:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6V1ug7DJzDl6lyj+pz8KlrX5IxObbLmPlWKoEuOd+jJ049JQzjb3GK4qm+1dUZ+FsPiUVt X-Received: by 2002:a17:907:25c4:b0:94f:250b:2536 with SMTP id ae4-20020a17090725c400b0094f250b2536mr12685305ejc.28.1686654813269; Tue, 13 Jun 2023 04:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686654813; cv=none; d=google.com; s=arc-20160816; b=v7rOxuIRPQS2UoNcuKBY1TSfYPBt82hq2XD75jlxr4BvnmE3Sx6KgzKpVgtnPLckE4 zKADhvZ1Gv9Q7DKuIsn1pI39aw1roZbx8DkpO9S8jmdzx9x5hxy5k7pqgZ4+b5TvBLTB wXieV/HNU3wCgL1iLSzSeAm/8Au6BhnD2c/C/4UQrWho4f7xwmY6AWIsPS4WMpLJZQhz 195vR/PeOx0vehU/ImLEyoWY1xTqJLmdlHlIjuv+UucGHS8RV7nBBxtKWKmBD/m3kaDU yEG8989SRG75fXd1d/q2KJdEo2ExCY/AXnUJCxVpqgJBBMngp4rofnCEKuKpKOa1eA/+ 8t4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=bMLq5ZKnOotflytIe0mnOvtlGzHkJVwDm5cQgBrjDI4=; b=Hk/KsPgjac6pUnTgeQFM4INKaf4RMCgo7GyYoyfoeTItGA7KNFLJhu5tI9kjGWk6Hr juINGGx2SjU9r17TNixkoG9DugjUpVgO/sdX6IGe4YehLDLij+k+6Xj4eGo9oKiWANot jogOA5PZQTOu+qX64d2oO6Z/iUuhEMZ/tRyXNZ1mTEErFOXMc3T/J3u4GTQ0jb/Hgvn1 ZeQtRXvyVhS13dQGU65uhH8yqX0zqV8hTBsVeb0958/uBxlh4AuP42SOp4P71SgYHsq0 Bec7htcsPxXT+/THm96wmCwNtkpibm2/FBrDIc9EqJq2GdtPa6Zn7S4JtDHQ5ug+5mmV WyXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iCJ1+VBI; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a170906668600b00973a80fb4basi6574880ejo.488.2023.06.13.04.13.07; Tue, 13 Jun 2023 04:13:33 -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=@gmail.com header.s=20221208 header.b=iCJ1+VBI; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242076AbjFMLHv (ORCPT + 99 others); Tue, 13 Jun 2023 07:07:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239887AbjFMLHu (ORCPT ); Tue, 13 Jun 2023 07:07:50 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1679F92; Tue, 13 Jun 2023 04:07:49 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4f649db9b25so6514754e87.0; Tue, 13 Jun 2023 04:07:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686654467; x=1689246467; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bMLq5ZKnOotflytIe0mnOvtlGzHkJVwDm5cQgBrjDI4=; b=iCJ1+VBIcCa0IQhLHm5WTeNdJd0fHzpUwLgjc1ENNZgKyHY+j0ATlLbQRGYoyRYYyQ NvohUxbPcJCELP804PiZdA5OtlxXar4dJFcugYHdDqxd0gSUIIG0F6JyLw83nYu18ud7 vhZOkZrGuJbDUyx9KCGiBXPaiSowTnG1tzdXlds7654aftB27aqxexqVRRc+vKPQenT8 8JJHnZ5GGX5QZPsMS27KxSoS7KQyQ7tyk2WMuC2hgMmUrVojHyXU0YisyO7qEMVbxi94 eh/oei01nm8v5HzqDhNQVqEIZcnCc3epO6XHf5pRkPqdqBotTlaXGS4vagRop/li4gM1 IumQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686654467; x=1689246467; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bMLq5ZKnOotflytIe0mnOvtlGzHkJVwDm5cQgBrjDI4=; b=WWkOGbdQRCpzFjl9+8rLZ+50jD7Jva7GsfOnvTGCO9T2gtsRdDeNrYo34HBLfVGwrT HTVt3a8AiREvdTL2LqkpDaNQEJ8lBRvuukSmRrU/lvau0PzczubemsgYzitQ/V8IhqNm fB2CZUD891kxUWYPrpJJJELBmJaiLKAfFFPeAT6j8tdQRMsIA7bOD7bKF4M42JJFWaS5 Ti6OJ3BSsOYiUgYnotuMCi1qPgEMr55aAtSwRfQh/MaKN7/fJygzaCKrFJ5DlXmc9bW3 bZYsmmeemREwdxSrP6SegN7R/C6N0MmVN/Zn90YDjOEE3mdTWjVqbTJeas8/UtmhrZ9f DvBA== X-Gm-Message-State: AC+VfDxHoz3PYVSOmhnCOd7p5xlJm3c9DnK+h478DLGPbwKBbrJi/FNc GFNocHzeqdjSKfg8c3c0OUc= X-Received: by 2002:a19:655d:0:b0:4f0:181:5a14 with SMTP id c29-20020a19655d000000b004f001815a14mr6473731lfj.21.1686654467086; Tue, 13 Jun 2023 04:07:47 -0700 (PDT) Received: from ?IPV6:2001:14ba:16f8:1500::1? (dc78bmyyyyyyyyyyyyyyt-3.rev.dnainternet.fi. [2001:14ba:16f8:1500::1]) by smtp.gmail.com with ESMTPSA id w15-20020ac2598f000000b004f138ecab11sm1764526lfn.24.2023.06.13.04.07.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 04:07:46 -0700 (PDT) Message-ID: <81d81060-ad96-3376-f17c-792a3c12ba1d@gmail.com> Date: Tue, 13 Jun 2023 14:07:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v6 5/7] iio: accel: kionix-kx022a: Refactor driver and add chip_info structure Content-Language: en-US, en-GB To: Mehdi Djait , jic23@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, robh+dt@kernel.org, lars@metafoo.de, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <5c2bf9da15127e0c74bbbf71a44982e667b57e34.1686651032.git.mehdi.djait.k@gmail.com> From: Matti Vaittinen In-Reply-To: <5c2bf9da15127e0c74bbbf71a44982e667b57e34.1686651032.git.mehdi.djait.k@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 6/13/23 13:22, Mehdi Djait wrote: > Add the chip_info structure to the driver's private data to hold all > the device specific infos. > Refactor the kx022a driver implementation to make it more generic and > extensible. > > Signed-off-by: Mehdi Djait Acked-by: Matti Vaittinen Yours, -- Matti -- Matti Vaittinen Linux kernel developer at ROHM Semiconductors Oulu Finland ~~ When things go utterly wrong vim users can always type :help! ~~