Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9535562rwp; Thu, 20 Jul 2023 06:26:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGcR9YDLkxEnL7C6oU1ieau0QK9hQf8AQr+t+jKw0T0/ZHG96vgKQF+YSHnBvPXzU0SKbSe X-Received: by 2002:a05:6a00:2446:b0:64f:35c8:8584 with SMTP id d6-20020a056a00244600b0064f35c88584mr2263877pfj.18.1689859605837; Thu, 20 Jul 2023 06:26:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689859605; cv=none; d=google.com; s=arc-20160816; b=pDvPCkIedIAQmIXfDAOLkHG51YLSySvKUYuaJuzzWW2dyc7xoLwsx0vuuUF7YGAIIM HLU2U5OhtTmM8pJnhpX+XKFt/1dFckVcCYYo30/9LoClry1xPf3e2rznAZIEsnonBD2s 5wU8qoHL4G6cMrttWKOhVheXgEnuMZDjes6jFQbGSHaqTTrDDkRjEdbv9EXr6We8BvG4 b+/p6vyVU1gQBZ5gWnwOzItPo63fxkPgOWjDb+PTlqPO+gSqHt24y+0mkbhhAkGAHVTW yi+DwTYUgaymew8Bex7tu16rtTc5HMHCPpOB5HRSAKVzPJGfrB6NbCz4khkr+IhNNntT cp2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=myw7PI+FCyKio3g/zcLcGlSy11Ejvz7tGQQF7fcbIUI=; fh=8qjL0C9QMvaDKdEP8L9juHiGfHUyzwI8xN3elPlNYTM=; b=g+rh68s0y0M8jTDkgfGv0SAyxMyNYzBijq0ChousWt6Eka5ofD/9uDcfTuYR69rCKn u/jU8ahg7qX1XcUw+EjLI+AM7ACLLcKh+Z23zZfAMIV6gk8cMB5DqP8QSBCFo3G7wF03 FM2NpR8WZ5J+DgbZNiiddpviPFu1OA9jO4plLxaGDWNXpVd333jKo3y0gk1dxjuaqQMy YBzXfW81tieNnDZtlVWdsLzeP5TeuT8izvZQcSdXW+4jk2N5Pas7YCen0dnfKYaaWApC 17fDYe4xpWQgckydTutqDnBnaCQd2lxuB2AntLdzUFB+fTbAUWMw6GB1PWiUKxoScr+N S1Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RsjO8PUn; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b0055b82bb0bbdsi768700pgp.879.2023.07.20.06.26.33; Thu, 20 Jul 2023 06:26:45 -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=@linaro.org header.s=google header.b=RsjO8PUn; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbjGTMf4 (ORCPT + 99 others); Thu, 20 Jul 2023 08:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbjGTMfz (ORCPT ); Thu, 20 Jul 2023 08:35:55 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA5872123 for ; Thu, 20 Jul 2023 05:35:53 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-997c4107d62so117351866b.0 for ; Thu, 20 Jul 2023 05:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689856552; x=1690461352; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=myw7PI+FCyKio3g/zcLcGlSy11Ejvz7tGQQF7fcbIUI=; b=RsjO8PUnjdufXpf/tArBv4Te7lbY/T9GNu1DCIgU+a/WxaPrkl2rNfnnV7ZjBNNlpK FJEZ3j4zE/pDBbjEgOoHKp7xQf1Cstx0AtiY8zKNuj8BCi/TP8JSeoz7ECIIMestnaNZ oaBl/ncmXZCbFgqszHvlNp1VR8CFg3T+HRoHrC/JwZUBL09Fk66RsQwBbQx/oxfl4j8A cgt+5Q9F/7CvccRVaNSI2qRAKkDByHHMrHHy2VjtkQL/jWjUgOYFcgxaxwbwgfngrZzw apdkD5Uz1pkXQLvGrMHVkR2n08+LOcDgSm9P7pTmbmwdWiCKIA9y1BkrHTRHxkNwkMVq EQZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689856552; x=1690461352; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=myw7PI+FCyKio3g/zcLcGlSy11Ejvz7tGQQF7fcbIUI=; b=I3Pp8JX4XYkv9OYMMQ+bJuxO3iSNII3a7ntPk++kPmov5dj5GFmuyIlFVqGyFFRvVh aswMCKVoqpYp0deLcFQSVTcyjRTXaXEmB/0eXK5JF6herkozHto++g7f58IBzElsucxI eNFJHWQJIKW15VxcrC9kiBI8yCsHsGZBMbmyL6Wk/KcnG3eV4dfobieoiB0F3Ys9jj9J EennLZ+E1zL44ASk8Kwo8qVhyzQv+7buLR3yx5iI6bQ5In95nDlgiPFxTb7NW6ST5eTh KMV4oHMTCgx6xdn1AZW6Y3ft5iTTcjEfaULUfHOQQnG7FutGxSVuIxBGV5m3HDj5QzBc 535w== X-Gm-Message-State: ABy/qLao+Zhb/9I/zbHkZAsnVK8zZ2yM4frBMIAYoaupVNXpwlQOUDVr ReviziRrlE6KEVWx5UtZWLGqdg== X-Received: by 2002:a17:906:d04d:b0:997:e385:6597 with SMTP id bo13-20020a170906d04d00b00997e3856597mr4774366ejb.45.1689856552333; Thu, 20 Jul 2023 05:35:52 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id lc7-20020a170906dfe700b0098e4aef0791sm654842ejc.66.2023.07.20.05.35.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jul 2023 05:35:51 -0700 (PDT) Message-ID: Date: Thu, 20 Jul 2023 14:35:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] power: supply: max17042_battery: Do not use CONFIG_ prefix in regular C code Content-Language: en-US To: Przemyslaw , hdegoede@redhat.com, m.szyprowski@samsung.com, sebastian.krzyszkowiak@puri.sm, kernel@puri.sm, sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lukas.bulwahn@gmail.com References: <20230720123102.154699-1-przemekchwiala@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230720123102.154699-1-przemekchwiala@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 20/07/2023 14:31, Przemyslaw wrote: > From: Przemyslaw Chwiala > > Using CONFIG_ prefix for macros is not a good practice. > Use CONFIG_ prefix in Kconfig only. > > Signed-off-by: Przemyslaw Chwiala > --- For future: Please provide changelog after --- and version your patches (git format-patch -v2, or use b4). Reviewed-by: Krzysztof Kozlowski --- This is an automated instruction, just in case, because many review tags are being ignored. If you do not know the process, here is a short explanation: Please add Acked-by/Reviewed-by/Tested-by tags when posting new versions, under or above your Signed-off-by tag. Tag is "received", when provided in a message replied to you on the mailing list. Tools like b4 can help here. However, there's no need to repost patches *only* to add the tags. The upstream maintainer will do that for acks received on the version they apply. https://elixir.bootlin.com/linux/v5.17/source/Documentation/process/submitting-patches.rst#L540 Best regards, Krzysztof