Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7294744rwl; Thu, 23 Mar 2023 02:09:45 -0700 (PDT) X-Google-Smtp-Source: AK7set8ERMXemoKQWHhI5w3M8F7L/eAqgg07Nlki5SjbW23TDKpbfTZbfjJTvR0E+/Vd1vshDRMx X-Received: by 2002:a05:6a20:7b24:b0:d6:4003:e38a with SMTP id s36-20020a056a207b2400b000d64003e38amr2128118pzh.43.1679562585010; Thu, 23 Mar 2023 02:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679562584; cv=none; d=google.com; s=arc-20160816; b=d8vHSbWb1MlkklSS14raC9i1cpa7944NwsH7sB07EX3w8m9dGshcj9dhjBi8sZ2xuF wwdbGXoBJsR8inpez/J4tYpqMZC522cY3WtZ89uuXxjzFy8QTPzAlhuEWtwckPhe/6op sOV9X4rygPYVbDHEVMkMHJeiVM+wxp9ceN5UUrzCcoAn9n4/6aEMZMplQxdZkdX2beOt xZKXnrk3xG/6an5/7+FzWNwCGmRDqG9DXR0gevQazSwDcdxInM12hOxUrXEIsKKwchna PtV+t3uODT26gQd2sz1Gqwo3T/w8QFcrPYig84HLzD65d6PMBjMFxWtqlWXtEoG8HK/d gcvA== 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=8RWJzOeM5GIaIf82zupXR/wrUWqvRt22D3jyGfDKRi0=; b=LYkHkafvsm2ZOmMY3iIlYGIpMwna/4NJnyHWI5ch/goMQwjmVtvo46/sBsTbBB2aRd lYxFp9ALJJlTGY8xZyRN7ZCYLF4YCSZk2BgWifrd3nSocgMPOpQIruZCR5mmDNJCRsi0 UIvDs/nlkf2RzwcMvpwmrWupQuOt+5KCLOVtc0BKM0y12GMT9r8D0whMcSfHIW+01PR9 p18KIP/r9u7pK+wbEiLSXtg96nUc16fVCGqth9Mm8goCFI4cUtOPEWN5/RbxWnBFFu89 00hJ2jcDUUF6s+T3kBACXPzIw8lwu4pCy5fKmxc0JJ3GmOC5th80ouSmkFbTYkBRK86l A4mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GT9VzWPW; 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 n1-20020a6546c1000000b0050be719abc9si18589378pgr.167.2023.03.23.02.09.32; Thu, 23 Mar 2023 02:09:44 -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=GT9VzWPW; 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 S230398AbjCWJBo (ORCPT + 99 others); Thu, 23 Mar 2023 05:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjCWJBl (ORCPT ); Thu, 23 Mar 2023 05:01:41 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FF831717B for ; Thu, 23 Mar 2023 02:01:36 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id x37so12134714pga.1 for ; Thu, 23 Mar 2023 02:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679562096; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8RWJzOeM5GIaIf82zupXR/wrUWqvRt22D3jyGfDKRi0=; b=GT9VzWPWIi3fRiiTEQRqtMPzOf4UlHEtpXWnaON7ZeEB/MsGe1J2NYF8yO4jWTpa+B FDQV3dtv10AicBYCDB/kw4dhLuluZpSeo4pELv0kz4QwZ437E+CFPkbAktP56Z68kafx pl9eoxJaIMGEU+MxDRx2AeiYW560rczy2CdmHzR3iR7Udwr6HKFYfK8/2xHYyh4B6rw6 hnQbxBujs2CSMhjGSR8KDudwUIzlEFct3Frk27NrUzCEGG6WfEI9/Jn0Z6SYnMJT5EC0 xuUOiTtxrHodzem+fDQjMWr07zfXJvklPIPaKReyyu8FYIdkCtcTIrJm2FBO1YWJ8x/m IhLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679562096; 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=8RWJzOeM5GIaIf82zupXR/wrUWqvRt22D3jyGfDKRi0=; b=PY/+WrJ6vW5rMaTozphqDucoXBrml0Im2ICnm1lLbdKWBJcHY7bk8fBxbpniYuapBI qld0ZVWh6LhvSlYyhkTl+iJNVfsQYpNwXUua17R6peDj/RWBebccsOFGRFw2VN9xoe+e ef4LusJ3l+KClMZMCWmu3971rEHNKIBRSgwA2ro85K52cS3R8JjHUWGdO940HoDOu/VV 0bfhw/ruc/iGGR2hOPow4/eWnp6PVxiCuajf7t93ndy95TLIglMrYs9J1GjSR4YBWoHX sG1ukP4JiNER52213iRjpzDJ1tO/ZNubySSGIb/lmw/UIv0fd0xRGIcGVSqXogxjUVuA XhkA== X-Gm-Message-State: AO0yUKUYkS5a1lG4/U8d6WFuTiRjdKJ8JB/A3T5ksoJK4uBnL4noOLqD +lTucgVdq1o/yzT5YszIc2lF46LLkZ1Bsg== X-Received: by 2002:a62:1d8f:0:b0:5dc:6dec:e992 with SMTP id d137-20020a621d8f000000b005dc6dece992mr5088682pfd.1.1679562095852; Thu, 23 Mar 2023 02:01:35 -0700 (PDT) Received: from ubuntu.localdomain ([117.207.139.205]) by smtp.gmail.com with ESMTPSA id i21-20020aa787d5000000b00625f5aaa1d9sm11346893pfo.83.2023.03.23.02.01.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 02:01:35 -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 0/3] Staging: greybus: Convert macro definitions to Date: Thu, 23 Mar 2023 02:01:04 -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. Sumitra Sharma (3): Staging: greybus: Convert macro gpio_chip_to_gb_gpio_controller to an inline function Staging: greybus: Convert macro struct gb_audio_manager_module to an inline function Staging: greybus: Convert macro struct pwm_chip_to_gb_pwm_chip to an inline function 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