Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp707134rwl; Fri, 24 Mar 2023 00:24:33 -0700 (PDT) X-Google-Smtp-Source: AK7set8oum0wTQTnKc/XAPuVqRKGVmO7Owwyx9QZlZ/nOAW4VbD9NRR8s2NBGKoI8yTFFFgd1yDk X-Received: by 2002:a05:6a20:2a18:b0:db:6d41:d628 with SMTP id e24-20020a056a202a1800b000db6d41d628mr2053944pzh.22.1679642673693; Fri, 24 Mar 2023 00:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679642673; cv=none; d=google.com; s=arc-20160816; b=S+r/4HZ1TZoil+laQUlJwi0akcqP8UihBtDzoq5aLSGTzHu1H2nKwYOLr/PmZjSrFc GBVQhUAugLOYeYAbpyGw5ZDMRFEU6KUJgtFxL3iIB1QikoXfevCiYLCk3JNYrSW1Omd4 luFE9izX+WIAbjqI4u15qaboclnKxSIQr/dYdL3pqSmMln4pseGS7y2l59zHNEAX2kIh iu1rliEkxJEImQibcLugjC8x5EXW8VZTt3UMU/odNeOCk5Vy0toal0RkQ1Rugjuhddic fVkDApkffyNQjjYeUKU9N5UvtqhRajQSlWUz/3mBUbfFB/dUeeeFF10SWVpKumHtmr18 Nqfg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=qOWL7nV1WlBQFqJTXaBmWX6r0g27OV1XFhs05mfe2aI=; b=SblGcUretPXp3S5LmDgmWMjPCxMXP6N76CD9lGv86wolynhjFG9qTApRnm59BD55Bt W/Gj1qNzI+lK0sG6K3WylqyAioh0YLPZ/VS+wGKfWJEkJ3v9dsZx1jm1m+DyuLJPWjJu wZXjQaUueqlojIZ8aFTHjHJlDWnQhZIJ45UB9gZVsqaleedqCcF/DmXqnHsSunxWJmmv XHSDKmBbAINJhihfgAPVzlBAkA1ZNjG4m1n+/krUjaOaa3vw9lqIl2P0zAKXPYk4Pt3t mOtGpJ5Rsi8oz2kD5h0Cf4ovwPrvQTS/bnvViTfJ6gtf8KvpQDEQEB5S1z5KT5OWZj8v HWQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=olwZ2Ki+; 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 b20-20020a6567d4000000b004fb93a4016asi21249132pgs.483.2023.03.24.00.24.21; Fri, 24 Mar 2023 00:24: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=20210112 header.b=olwZ2Ki+; 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 S229974AbjCXHV1 (ORCPT + 99 others); Fri, 24 Mar 2023 03:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229753AbjCXHV0 (ORCPT ); Fri, 24 Mar 2023 03:21:26 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 369C4C0 for ; Fri, 24 Mar 2023 00:21:25 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id h12-20020a17090aea8c00b0023d1311fab3so779695pjz.1 for ; Fri, 24 Mar 2023 00:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679642484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qOWL7nV1WlBQFqJTXaBmWX6r0g27OV1XFhs05mfe2aI=; b=olwZ2Ki+GEmXv8N44rzlIT2zwtZrcHbqmSfDZrbXOE8skrN/XFMRPXRh9BxqAVJvq9 1h59VhF08YneFvX2/UjLzW4bZ7/UXKkuXAelK8CWyQB03bWYJVm0indIiCeivCqWiIVE o+OnA12bz4QBpDXQGGUwrBH05ESQoZx/s7vzQxklJnkFiNdNGCr1h3neQDr0Wu0ETgc2 PE72AAVHb7QW7fiOdDKL6TeyoQTUu8ItQM9D8FJWEgPRHiMsfl+BJtHzPk589PplTlCD F+e588GFFMmS6wLKgeMHAsaf849OTPjNgVpt/segz0OhGb4iGQ5x4kZz4M3pJDHlMQKT Vm1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679642484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qOWL7nV1WlBQFqJTXaBmWX6r0g27OV1XFhs05mfe2aI=; b=7LCOZy83yo07amqZ6sv5wHYL5fsczOIsV+kyC1/4yn5HC6T131zyRQKsAobOa/WBpK /27NA0fhK1kjwxbpcZUOpiItFLgoQNtiTCS1wQS4/moDIZc1lHhgMwLs3yIqrv6Wsb9M BQx5HyUDW+nsTWP/PA1Wxcgv6xZSqLT5FiKrGwEcUfnGYGm+kS+uzbnuhbFPz002+8Xz tV4OiVEZKptANn6mPV8VJYVQ0SOsuFmmQOFCv8bg7+EEo49RMCzHz36OVeRLy0m28AdV lDG9Or42MNKF2JhJo8RqMBF/lu4MvjQIlyuTrrfFxhUM4LYp8eVY4a42tw7PL7ADFR4C FXUQ== X-Gm-Message-State: AAQBX9fm5LKYMK9II0kPlRNmgxDgIOyzbMVSsW07xEZuQOtaZ3gOFTEM HRIgiINhN/IORKZEb5nW7wc= X-Received: by 2002:a17:90b:1c88:b0:233:f354:e7df with SMTP id oo8-20020a17090b1c8800b00233f354e7dfmr1835231pjb.18.1679642484576; Fri, 24 Mar 2023 00:21:24 -0700 (PDT) Received: from ubuntu.localdomain ([59.89.175.90]) by smtp.gmail.com with ESMTPSA id o10-20020a17090ab88a00b0023cfa3f7c9fsm2362372pjr.10.2023.03.24.00.21.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Mar 2023 00:21:24 -0700 (PDT) From: Sumitra Sharma To: outreachy@lists.linux.dev Cc: johan@kernel.org, elder@kernel.org, gregkh@linuxfoundation.org, greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Sumitra Sharma Subject: [PATCH v2 0/3] Staging: greybus: Use inline functions Date: Fri, 24 Mar 2023 00:20:30 -0700 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Convert macros to a static inline function, to make the relevant types apparent in the definition and to benefit from the type checking performed by the compiler at call sites. CHanges in v2: Change patch subjects, noted by Alison Schofield Sumitra Sharma (3): Staging: greybus: Use inline function for macro gpio_chip_to_gb_gpio_controller Staging: greybus: Use inline function for gb_audio_manager_module Staging: greybus: Use inline function for pwm_chip_to_gb_pwm_chip drivers/staging/greybus/audio_manager_module.c | 7 +++++-- drivers/staging/greybus/gpio.c | 7 +++++-- drivers/staging/greybus/pwm.c | 6 ++++-- 3 files changed, 14 insertions(+), 6 deletions(-) -- 2.25.1