Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2657119rdh; Sun, 26 Nov 2023 14:38:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnHmNciYELP/YIHXDsx07u1x1BLVX/SwqXce9jMI9fEakcNveB+j3OdHwkZnyUWeLDaJVK X-Received: by 2002:a17:902:ee04:b0:1cf:cf34:d4fc with SMTP id z4-20020a170902ee0400b001cfcf34d4fcmr1335956plb.10.1701038310465; Sun, 26 Nov 2023 14:38:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701038310; cv=none; d=google.com; s=arc-20160816; b=qHe89lTGvOiIyiHkeiRJsfafG4IwJwAPiA6tJajQ7zbcJY1fMXQuwRBN2qhBHj7e54 E0GPnQcNjk8boVrKAKd4ozKYwrJWfk3uZTqVOtSj5Q3Jq4RUkGLboi+KVRFp9wni5DaC VIhqSPNgWx0KNm//QgUOWGmjQ/y6LEUTc9XmbTg/pGM7XXXiVm14CffMyCRDxJdv/+pe HhWEypBGt0pOZ/BJIbT6J+KCy5Iq5ZtvEtcJl78CSpxYO7Z8KxTj/NrW8VYD7ApEjVGF gD0xUWZBtlJE5OAVOCF571Q/dtLDPu83lXHu9keQ9jbCstUnxqBCc5xD9Krzs7FsAEwn dEpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aryG4mo8IAlhTmwWgY67zcQq8mz6dlgC53SgsWj77pI=; fh=1E9pUnf9onxOkag6SG0F9GR5Y0G/iE6zwKLrM1uu5Qo=; b=Ql2+3/OGR5Iv/1/vLF/gGUcRWhMuPmA2ugAE4R7hHicajJUWMJCqq73CpjABBJAGEp uD6OUoCTzKX3QXEDbAE7a61lROBBWep9I+lUIdCN+9dkYLofAIjRIUhzPwBMhv5LrMHx yNkKzKCMDCzRpvstI0gYvpLmHUDCOoFrGRsrkdLgunSZoGbS8/i5qfzEhnGH9yxSCVpx 8qUume/bWRZbofMILTU2pJeCe7/7flYdZ/NwyiYocSaJR8eYVbX8BHZh8whHmi3q5+yX 75BfMhysaCRmk0Chucfui9rXDNT8KBtDxNBL2cPYUfrOHS4EwKPcWqIr7RovbcBYzlVt A0YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mZehqyCw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id m12-20020a170902bb8c00b001cfb2ab4cf6si4032403pls.163.2023.11.26.14.38.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 14:38:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mZehqyCw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DDF17804B38B; Sun, 26 Nov 2023 14:38:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229672AbjKZWiO (ORCPT + 99 others); Sun, 26 Nov 2023 17:38:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjKZWiM (ORCPT ); Sun, 26 Nov 2023 17:38:12 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7CE7E3 for ; Sun, 26 Nov 2023 14:38:19 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2169C433C7; Sun, 26 Nov 2023 22:38:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701038299; bh=ZzkvqZAA0BbxPb51CfXzZIVh5Y99x58F1kl3CaI11Go=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mZehqyCw3CFvJKr92+RJKcX6cOp1Jol0QkdkQZOY8T358YlX96JP8C9wImjcaM6Yi kUdxPkPTYxKNz4AYzluU4udsMvQkcf3y7R+0C3zhT3eERPnahCHnGUOoqh/t0Bb7rR VVjKrmxCqa2JYJtBftwdRA5I9d0O6He8wCavRRJAeOy/azXMY+JOTAp/AfGkZVr2YY j5JLFLg4RyPG4PHQa39oWGn3E9RSx1XCm0VBMewSjSTmY46H2lahurpwcj/AzOIp3y kqVmZ6Ep0elFr8MgoSYyKr5KYWn4V1rCLFby/26QpRXmyWN7NCZEZ6IH8MHZbhpc84 knq48crREG0KA== Date: Sun, 26 Nov 2023 23:38:15 +0100 From: Andi Shyti To: Andy Shevchenko Cc: Mario Limonciello , Jarkko Nikula , Herbert Xu , Wolfram Sang , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Jan Dabros , Philipp Zabel Subject: Re: [PATCH v4 06/24] i2c: designware: Save pointer to semaphore callbacks instead of index Message-ID: <20231126223815.vpqxfahxw7avrscr@zenone.zhora.eu> References: <20231120144641.1660574-1-andriy.shevchenko@linux.intel.com> <20231120144641.1660574-7-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231120144641.1660574-7-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 26 Nov 2023 14:38:28 -0800 (PST) Hi Andy, On Mon, Nov 20, 2023 at 04:41:48PM +0200, Andy Shevchenko wrote: > Instead of saving index and do an additional level of referencing, > save just a pointer to the semaphore callbacks directly. It makes > code cleaner. > > Acked-by: Jarkko Nikula > Signed-off-by: Andy Shevchenko Reviewed-by: Andi Shyti Thanks, Andi