Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp275745lqm; Tue, 30 Apr 2024 22:59:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUNGGfhTei+Dd4Hk4vCa7I2cp/86d9rsYrBpo97hW0IjE4fTuW6TyBKP232ZWlJKuAk3PngITrYpaA+0cLTdYcKaFQYk81K0OXI4DaccQ== X-Google-Smtp-Source: AGHT+IHNhWFDf4yCVywf0N+wVucUzU+psXEDq9ZpY6CXnYZnIHKJ8XUU3sTlZNsGhfwUL7hc2LAs X-Received: by 2002:a05:6a00:2d81:b0:6ea:ed70:46b4 with SMTP id fb1-20020a056a002d8100b006eaed7046b4mr1798209pfb.29.1714543157411; Tue, 30 Apr 2024 22:59:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714543157; cv=pass; d=google.com; s=arc-20160816; b=wrqAEdCzuxEPdF316cBBSuO09scES0wqPhBqdYYRHToGDCJF+Q5PTmUC1uH3yLwFpm X3Jvhftg4SODgBVAcAG6DP4Hjet6UxUFDDub+9FWACSb/ftnTZs6rsVS6FTn8O5XH3RX iIu397/h2SS/VHC40J5ha28gM7EtXImp4aEA0Y9MHWnwHh7bEiShXF+YRZbeZhxcpB+g E62q0BKuh5HP4OOy4nLElxJd602uKHyjZ/AtOrgaNl++Ul7WHPT5vZWyPuduomHpKkBR IMz8NWmNqlD9KkQTeIGjlw/GoUtAD/Zl/MMp22Iz06GpOn1ZcsNgcbRIi5LE8bedktwp Ktpg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=3hiWw6jP2yYUJTSlYbKDexViseqF5lmbHWHi/tGYz+w=; fh=SFvW0fEkGg537dTD/HCLKfiJvpVeRlOKPHq3pukfYBo=; b=eBsy2tIrtGcH3Y7B7xoh84xgi3p8cOai4O+47F2bwsiQu9Buigj2B0+4DLsyjqNiro 7r6pAU8iV4MEihpZonexEFfj4jG5uUGKTcbsMt4+B2J5cZjzdoFnypOvALyDx3bSUmiB SHNoRkkb8U8cLjNmfLKRFVB6N25f2Kks4fRWnjjMKquGyCX/OPBPdWSV/IQFmMkBW95B yXYK6beDM7E/mvQkraFRyB+NuuiGrTS+h6lpRyBq8XIuJdZsIJ1rroqeg/ke2bdxtKPq /CJ2kUKSVxO+XttUVXeGuQArwcDkQKd/GWDkJqGQionoXxBXjc1ngTitgIY5TiywiJfJ Q9Fg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O6sVQv06; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m15-20020a6562cf000000b005dc85dc982asi22743347pgv.832.2024.04.30.22.59.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 22:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O6sVQv06; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 00DF6B209A9 for ; Wed, 1 May 2024 05:59:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDEEA4DA04; Wed, 1 May 2024 05:58:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="O6sVQv06" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D0E74C62B for ; Wed, 1 May 2024 05:58:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714543110; cv=none; b=q7SReoXdinSppARxobnu2MOKeEVs37kkn92mhm8CTlL+0/wTJbA5DGGuj86nIXitv8O7wh+MclHLy233OOY53PwzWkK+03KWwWnnF1iaQ4ScmCuZbNQghNKftxHuyP4SNua2ayVLlB6DruS3qN1zBKqB5CVcspoeq7ZwE7LnBrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714543110; c=relaxed/simple; bh=qFOxNZDdgb4xgczhp7k/37TYS9T8b5TqtSX9kQNfMB4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OkfGc9RUsy17qey99kJJ+pMThMgZl4yKZyx1WwX9fh1wpx+E3HY7wba7OkV++cZ9RImCLU/RWSQjWcXnrZfl+N3pMHxsvSPmlrblz9+ME8ABtIwwufMdgjYmdVqJm1T1ncrzoVbP4RIAhGr7NbPCc1o0SlkekTeVH/EjZA99iQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=O6sVQv06; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-41adf155cffso46262935e9.2 for ; Tue, 30 Apr 2024 22:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714543106; x=1715147906; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3hiWw6jP2yYUJTSlYbKDexViseqF5lmbHWHi/tGYz+w=; b=O6sVQv06mLAUUVm0+hQoovc1gRErngqbwpquISs31t+A6LHX2z5+EPI/DwRQL35gm4 xWKEm0kHGAnqe6m5b+HUjnyuTi0d+0FK5H5rsYZl/cUEGwpTBPNrqckg5JB4oeGSz5H6 4m2UYFBRlyfY/N/SdAi83IbQAJ7bbnxM7ZjOjNXJBvF/KvIsBviueoDHsGzxNawTOfXR k4XEFQdGxnFEiyvtaMZsreeF1s1Qy1pu1wtB5Sufx1xloK6e8fE0hrd18TtCwc9QMN0t C3Qn6HsvuEFHqNW2taHUjbQgvt8OZjk7cX8zrgqqUxVrHpBdFKNxNwTsMrpUXKaLogDY XMrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714543106; x=1715147906; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3hiWw6jP2yYUJTSlYbKDexViseqF5lmbHWHi/tGYz+w=; b=NFsSKnU/CmPDsvEHJO0489eEXfweo97NMvaqkkWHscSt6XZQo5j8/Bhgyfla9iC/u9 BW7Q1qTgQihAUavTljobx1DH+gPpD5zNIs1LPzi+Q9J1+GIRFcwHu0SPTzfYG/sHO1mD /nLEGYmy/O4fZZ4ZGXQZl6BwH/8IrLO9Hc1q9li/iV0YoOa8PrFNl9Zviarf+LUrS3mt sqRgMh/6oIZQaOc6UHuBWbUFg/1rw6R0sVKYrDv4v9UJy2+6gjohHF81y+4UyNbkg+U+ wmPae5zbCBn2r7lzkcFIjkDW17h5AhGXeUeu+11qkAhAjwSehk5hc810Emj7Ur6gby1K iNWA== X-Forwarded-Encrypted: i=1; AJvYcCVNkTd28z91bpemLE9QIYPaKwflGqWtwI1AVdsGzehUV+Bx30CQhaa5GrEV8Q17DgPqpBDkFVzo6pueUyas8+qGF4y0/n/qES/4cXkD X-Gm-Message-State: AOJu0YybJgALOJImEd0n2V79LiMmHuVhMx24xePidwGOfA/bBMTH3WGp 89PaScBWaOAUReilCX7jG3T9SuEiaVCFTCP4dfSyOZIvURte3PUR X-Received: by 2002:a05:600c:1988:b0:418:f5a9:b91c with SMTP id t8-20020a05600c198800b00418f5a9b91cmr965776wmq.33.1714543105688; Tue, 30 Apr 2024 22:58:25 -0700 (PDT) Received: from YOGA.local ([2a06:c701:737b:ef00:e314:db5d:b033:4fc2]) by smtp.gmail.com with ESMTPSA id s7-20020a5d5107000000b0034c61e211a5sm12451390wrt.63.2024.04.30.22.58.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 22:58:25 -0700 (PDT) From: Shahar Avidar To: gregkh@linuxfoundation.org, hverkuil-cisco@xs4all.nl, andriy.shevchenko@linux.intel.com, robh@kernel.org, felixkimbu1@gmail.com, dan.carpenter@linaro.org, krzysztof.kozlowski@linaro.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: pi433: Rename goto label. Date: Wed, 1 May 2024 08:58:20 +0300 Message-Id: <20240501055820.603272-3-ikobh7@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240501055820.603272-1-ikobh7@gmail.com> References: <20240501055820.603272-1-ikobh7@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use destroy_class_and_remove_dbfs instead of unreg_class_and_remove_dbfs. Signed-off-by: Shahar Avidar --- drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index c8c1d296184b..4fffd7007040 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -1409,11 +1409,11 @@ static int __init pi433_init(void) status = spi_register_driver(&pi433_spi_driver); if (status < 0) - goto unreg_class_and_remove_dbfs; + goto destroy_class_and_remove_dbfs; return 0; -unreg_class_and_remove_dbfs: +destroy_class_and_remove_dbfs: debugfs_remove(root_dir); class_destroy(pi433_class); unreg_chrdev: -- 2.34.1