Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2015138rwb; Fri, 5 Aug 2022 11:36:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR4gsWVkFPQl1E2vTTJDTTyJ3hApwmY/32h0+p3Bsu3feaXGkc6g6t9CBYSFVACgEm6b8ifp X-Received: by 2002:a17:902:a717:b0:170:4585:744c with SMTP id w23-20020a170902a71700b001704585744cmr2118234plq.115.1659724567519; Fri, 05 Aug 2022 11:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659724567; cv=none; d=google.com; s=arc-20160816; b=HMVcGOakcso69US+qmA03+76Q3W3ouBz2z/uIdkgHQ++DtGxf8LDTJ9XsiwjAdyFle UooGpkROyl4IPUrcBhsMJmTvUYbrULbJngvliCeCReBj6W9qHVQyswlD/GQI+Rl1mL2y SW7RFsvj9nbLTR/AHv7kXBaU1bZuKyey8izNNkcoCnuiohKrUsJUkXfTAJ5ysUE/VNpX +ePs0aUcHpVLbcJHZPz4FD4hzJx/F8Th0IaCuybxXzFC3KR953wc1pq0DWFjzjKy+R0a Ehy+fuI07kMCEmIyRkny0960/NPrD6aTmIVt/0Sf7DOF4JulgrRZv0r8Eu9KpzUkZT5F 942g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hIkauzgt6OmvCPGlxkDP1V/+2ftR+tSiv6OMUdZBzKo=; b=qPgtJ12jQS+ymPSjE0DjjFruIwZgfLpp+ur9vbpbBUjhDSxw9KOqAehDPm7wp+8Td5 eEB5RFs3lU9GSMwHE0S52qa2JldaLS2/pbstz5GQnMis5xYH5cuDXd6Z9Pz6UKSYf5dr 596fqqOonQ1SVZt3YlTmtCnPE6Xq9Anr1ez87+X1eZ8PJ2tJRaNihhdEX//O2MNFisyc FEok4epdRZP7EShFoBesl8L/3QmegV8TpGbxKcgt94NHJ+/6YpMmSuHz3LL8zUzJwIzC UvecNI+L515xxOGIH69TH9C7lt19XYvjFFx06W0X5eoO1xQ0m0q7mK4GfnZzlIu4962K FPzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MRHJitL5; 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 f15-20020a170902ce8f00b0016da4f41949si4869287plg.550.2022.08.05.11.35.52; Fri, 05 Aug 2022 11:36:07 -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=MRHJitL5; 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 S241114AbiHESPe (ORCPT + 99 others); Fri, 5 Aug 2022 14:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbiHESPb (ORCPT ); Fri, 5 Aug 2022 14:15:31 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 206771A3B0; Fri, 5 Aug 2022 11:15:31 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id e23so2638380qts.1; Fri, 05 Aug 2022 11:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=hIkauzgt6OmvCPGlxkDP1V/+2ftR+tSiv6OMUdZBzKo=; b=MRHJitL58YogjWYs6VlFCFKBYkNKnV+HkzbmP4HsstwsDGmDEeAdmt1mXb/OSftO/T VxRRqyON8tIGMg1ZwZgpACMa7R1B6Z1BzSULIbzJr6FP1e5PV6/asDM4uQQrwKqVpk9D jeUZIchOcgL/bIag6uieD2ik0NpvskV7Q3BY5V5sGwvYFt9SQPAvkUViQ7qAGSuAyqX0 9wwF2MUEUpxwO0H9/KYJrxsBxSxnEtcqwBwU8njs0rSTe8u0/1HaNSIPbwoUUOaJGlkw E2p0fJ0QMTEQ6mhwG8mLitTkHE91vmoDCspZ2RKSW+3sjwnxgpTDOE8MG7aZX6hKcxLd IgIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=hIkauzgt6OmvCPGlxkDP1V/+2ftR+tSiv6OMUdZBzKo=; b=NdCfN409XEaL1v+f1wpSQ2jyb1trQ6hpaSfzwhifEDTdR5hH7Pee50FQO/a0+lYm5t f1Nr3bhdHKY1oy7SrAjlKrMizwJYbjYHVIUqG+976p1XJzuVLU/I2YMpX50ft8nhvPlV S6w8fcxhKPdMpsPm/tZkXlfr6qkAqQKBYahs8GsSAl9k4tCF1t9DbUCYcM3H341hCPCv kBPwQFATiyzi/Gq8RbAns+83ijf1AAAvMoXV7JRbkmliZbNxc/arXt/NRiCJ7TZTq1NV uXBoV+7yIj7swckeItAeKKDTZ4ogdKVU3Ezw6dLn2mMbO/vWoOzNTi7Il4VvjQvjAI4k issw== X-Gm-Message-State: ACgBeo39l0e9YSh0K/wdqzQvnjOubh0f81Yj7d20Nmz8ydu0lvlAoASy jJqmEROvUs13u27bgjDZoqjhW8Uo33eqlP8DgK0= X-Received: by 2002:ac8:7f88:0:b0:342:e9dc:ee77 with SMTP id z8-20020ac87f88000000b00342e9dcee77mr950460qtj.384.1659723330130; Fri, 05 Aug 2022 11:15:30 -0700 (PDT) MIME-Version: 1.0 References: <20220803054728.1541104-1-colin.foster@in-advantage.com> <20220803054728.1541104-10-colin.foster@in-advantage.com> In-Reply-To: From: Andy Shevchenko Date: Fri, 5 Aug 2022 20:14:52 +0200 Message-ID: Subject: Re: [PATCH v15 mfd 9/9] mfd: ocelot: add support for the vsc7512 chip via spi To: Colin Foster Cc: linux-arm Mailing List , "open list:GPIO SUBSYSTEM" , netdev , Linux Kernel Mailing List , devicetree , Terry Bowman , Vladimir Oltean , Wolfram Sang , Microchip Linux Driver Support , Steen Hegelund , Lars Povlsen , Linus Walleij , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Russell King , Heiner Kallweit , Andrew Lunn , Krzysztof Kozlowski , Rob Herring , Lee Jones , katie.morris@in-advantage.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Fri, Aug 5, 2022 at 8:07 PM Colin Foster wrote: > On Fri, Aug 05, 2022 at 07:58:06PM +0200, Andy Shevchenko wrote: > > On Fri, Aug 5, 2022 at 7:44 PM Colin Foster > > wrote: > > > On Tue, Aug 02, 2022 at 10:47:28PM -0700, Colin Foster wrote: ... > > > > +int ocelot_chip_reset(struct device *dev) > > > > > > #include > > > > Nope, > > > > struct device; ... > > > > +static int ocelot_spi_initialize(struct device *dev) > > > > > > #include > > > > Ditto. > > ocelot-spi.c uses devm_kzalloc, so that should still be included. > > ocelot-core.c uses dev_get_drvdata. > > So I think I still want the includes... but for different reasons. Yes in this case. -- With Best Regards, Andy Shevchenko