Message ID | 20210124211155.3704093-16-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=CogfZSR9; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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) by ozlabs.org (Postfix) with ESMTPS id 4DP5P2511cz9sRf for <incoming@patchwork.ozlabs.org>; Mon, 25 Jan 2021 08:15:02 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DCAD582799; Sun, 24 Jan 2021 22:13:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="CogfZSR9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3065D8272E; Sun, 24 Jan 2021 22:12:50 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 38F2B8271F for <u-boot@lists.denx.de>; Sun, 24 Jan 2021 22:12:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-pl1-x631.google.com with SMTP id q2so3594065plk.4 for <u-boot@lists.denx.de>; Sun, 24 Jan 2021 13:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0VL7h02fM1J/COouKPf2n9Ga1GVYeZav9c95noF76GI=; b=CogfZSR9mNW8NxNVuEV6197ouyCxMHbUpA7Razg0tgjl6YoioYY+IJUe8WjqzbmbKv DX41mfibunMR+xm0Z+Tyi5LNWmaT6Y5782Y71otIscv2Eo1o2ke+556O2epPr04AwJNQ nvFu9wcBzksfxwV7bj+rY5hRT3KJ8tQLAOR5w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0VL7h02fM1J/COouKPf2n9Ga1GVYeZav9c95noF76GI=; b=D3w28l6+X+JP3vUFalEHk/sIA/DzqnOMq+tA+p39JDALr+jwvGS4pGGJMg6i3KviSG yldtB+4+ikBLXcPVinLWH+dclNWoK2IUUqgmmnikbG+AVHMvXVsW7MgPXhIef0RmfWCV LGx6MNIAq/b53w+qTSk0RheNH0mweIUTh1EjlyTRZsDzwNgF34WgH2ykziMMqF1AhO/i oIbBx5IBdnR2SU0x4tphpHDj9e1huz0uHn2eiEa9SqBbUHWoUifh1YZ1qW+XsRd73hC9 bPhH/KUguqlwk5hnaGiAueeXrXTvVP2Ss5WgPbjI9nrrm7WD+clW7yagq77rf9h8ZxaX Py5w== X-Gm-Message-State: AOAM531JRbDbMwcjtwYuYZN+G8gS5IOgq95ArnEXYUs7h9cxv95FadLg k5alJh+SSA6oLUguQJj/W7K1iCzlpyuzaFMa X-Google-Smtp-Source: ABdhPJxGpxXP40kZzvNYaKr8GaqJ7SnBnxCyCvQ2oqH1IcaNfi7rl/72qSh7/S1pP8hxyo1vUjduVA== X-Received: by 2002:a17:902:c94d:b029:de:9b70:d886 with SMTP id i13-20020a170902c94db02900de9b70d886mr5983285pla.5.1611522758606; Sun, 24 Jan 2021 13:12:38 -0800 (PST) Received: from sjg1.home ([2600:6c4c:507f:f8e5:0:ec6e:a61e:6ad]) by smtp.gmail.com with ESMTPSA id n12sm13646341pff.29.2021.01.24.13.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Jan 2021 13:12:37 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Patrick Delaunay <patrick.delaunay@st.com>, Pratyush Yadav <p.yadav@ti.com>, Tom Rini <trini@konsulko.com>, Patrick Delaunay <patrick.delaunay@foss.st.com>, Kory Maincent <kory.maincent@bootlin.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 15/16] gpio: Define the log category in the uclass Date: Sun, 24 Jan 2021 14:11:54 -0700 Message-Id: <20210124211155.3704093-16-sjg@chromium.org> X-Mailer: git-send-email 2.30.0.280.ga3ce27912f-goog In-Reply-To: <20210124211155.3704093-1-sjg@chromium.org> References: <20210124211155.3704093-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
gpio: Update and simplify the uclass API
|
expand
|
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 7f8bbb4eeac..520d7489644 100644 --- a/drivers/gpio/gpio-uclass.c +++ b/drivers/gpio/gpio-uclass.c @@ -3,6 +3,8 @@ * Copyright (c) 2013 Google, Inc */ +#define LOG_CATEGORY UCLASS_GPIO + #include <common.h> #include <dm.h> #include <log.h>
This uses log_debug(), etc. but does not define the category. Fix this. Signed-off-by: Simon Glass <sjg@chromium.org> --- Changes in v3: - Split out the log-category change to a separate patch drivers/gpio/gpio-uclass.c | 2 ++ 1 file changed, 2 insertions(+)