Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2795240rdb; Tue, 12 Sep 2023 12:16:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGcQ5YGvRRQTW0JajNL0R52h+41D36iA7reTX8TqFUTEogNDVXBKWq4ZRHoUkV66nkY7RSN X-Received: by 2002:a54:4002:0:b0:3a9:9bb4:485c with SMTP id x2-20020a544002000000b003a99bb4485cmr625359oie.8.1694546178735; Tue, 12 Sep 2023 12:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694546178; cv=none; d=google.com; s=arc-20160816; b=CqP4mfXqlIzc8mzqtPDVTNwb8kELgAq3EUphfabGPA2Gqu4m25vWobbjGkt3XcEmOf YwMjIDT7IC8JHhfWkWZOF/wsygK5EQTNm+RJ6NwW50qTTsoD/yhAwkiOn00qbascYxne V5627/hfMpH6EIEj+demVu13cM1L0m2KVvkWEkItaB4FYMRVdJ3wjXQ9NoS3np5co7U0 hYPCFLirv4LB28l0l2coLBlP0wrrE6MG5wtBkNr8EKEv0XcztOPzrrIHhKfLseTVJJhM PSGy3RaXGKIoAAUNEP6AN/hV83Bg96+0MXkgsHkpz+djTe61clnXYPrIawwVJMruQc/c Dcpw== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=2LgcUF/fLOJqv/M3/51+wceOW52yxUQy0Az7bsWQ75w=; fh=4brHe5QGwQ+sFhejBm/wX0YuVTZ8D2h0AexvKAa3oj8=; b=iyvQt0WZ+2Mw5PfwxBx4g90GqydS+C/8NLosulxSwpqczFDWOlN9bqwbhMAQw59xsV v1ZutotnIEtHtMb8RoKzwChxWkCBMrarIrjZFOy1h+i6kS05oINGAEMqVZncnjktaEKo TSyy7era0A10+LHo8hqWcINjre6PaAOp6jGd+i10yL3kG5fsSvEsKy3vWw2WdAGPIIv+ v28rIwYd1fYAqo7rswxccR4s2XoNBrsxlmJ8KGo4G/JprDTAUGTkfuNN9lHrBmJc9rva ptaxKSNycyT8wgMxJsuM5aWajx0HW0aC4q5cIcZDkbsiznSjDvRmG/SJUU8Lb8w15frm gFhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="g5BaF/qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id c5-20020a6566c5000000b00577b70e2a50si910924pgw.823.2023.09.12.12.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 12:16:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="g5BaF/qh"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 52740801D986; Tue, 12 Sep 2023 12:08:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235119AbjILTIZ (ORCPT + 99 others); Tue, 12 Sep 2023 15:08:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230204AbjILTIY (ORCPT ); Tue, 12 Sep 2023 15:08:24 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2842AE6; Tue, 12 Sep 2023 12:08:20 -0700 (PDT) Received: from mercury (unknown [185.254.75.45]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id CE37C6607314; Tue, 12 Sep 2023 20:08:18 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1694545698; bh=/VzjWlv3CMIeZ23/9Hp8VPg17hQMxbujmnekoWivzMw=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=g5BaF/qhbYhFMSnik3Th7pf7rovQBEJbNopX1Ik+9Ae2+9ZjxjaENhqCP0qxS2EzK tlRdN4w+gxqt96riK8oMqZssVBY6wr6ZJb7shUzwPa1DE3X60JFZzBpHrL1voHTuxH ts+DHQ/VIz/fSCrGJ6dlvZFEiIoaLdkH/kr0knp3IDQLwXH4xdymom8jkgmKhhZ1vb VuJvqHACM9HAcp8RZJafU76Xqd+MBrNsmRl5gDM5jxXyZnpDI/fDt1qiZC8pZeFqEm pfxxvN29zf0e7d5YXNoOXLrOEYXJw2Mv/2J04rsWnpgdkEGZwh/7XJ/eUgTkHJ9vy4 kzXeHhbUJvPsA== Received: by mercury (Postfix, from userid 1000) id 5D507106098B; Tue, 12 Sep 2023 21:08:13 +0200 (CEST) From: Sebastian Reichel To: hdegoede@redhat.com, krzysztof.kozlowski@linaro.org, m.szyprowski@samsung.com, sebastian.krzyszkowiak@puri.sm, kernel@puri.sm, sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Przemyslaw Cc: lukas.bulwahn@gmail.com In-Reply-To: <20230720123102.154699-1-przemekchwiala@gmail.com> References: <20230720123102.154699-1-przemekchwiala@gmail.com> Subject: Re: [PATCH] power: supply: max17042_battery: Do not use CONFIG_ prefix in regular C code Message-Id: <169454569337.510054.9386354023657535077.b4-ty@collabora.com> Date: Tue, 12 Sep 2023 21:08:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 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 (morse.vger.email [0.0.0.0]); Tue, 12 Sep 2023 12:08:38 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 morse.vger.email On Thu, 20 Jul 2023 14:31:02 +0200, Przemyslaw wrote: > Using CONFIG_ prefix for macros is not a good practice. > Use CONFIG_ prefix in Kconfig only. > > Applied, thanks! [1/1] power: supply: max17042_battery: Do not use CONFIG_ prefix in regular C code commit: c06a65ac4e4945478f46654920f5af1be1cf384e Best regards, -- Sebastian Reichel