Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0BD9DC001DE for ; Sun, 13 Aug 2023 14:27:35 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6D9458077D; Sun, 13 Aug 2023 16:27:32 +0200 (CEST) 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="htM/I9sk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3D2ED8618E; Sun, 13 Aug 2023 16:27:31 +0200 (CEST) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 17E7F8609B for ; Sun, 13 Aug 2023 16:27:29 +0200 (CEST) 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-io1-xd33.google.com with SMTP id ca18e2360f4ac-7908ff76516so81787239f.1 for ; Sun, 13 Aug 2023 07:27:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1691936847; x=1692541647; 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=/tLY5fod7u/sraNrH+yDtdULWLS6akwLh5xP2e7OG9E=; b=htM/I9skWQmUdC5oxaF/7KAxUF8kFNsVWFi89NLLiKkBi+zqja950BjEuJ5CLHWb/8 Sr9DmCEv/1Nx9GChl7JB+69uydOloh/OXjmQkvRQ/u8aL1142t2NJ2/CAF817BHdrucz Y9EFPwS2g9RxGL8LuiUC6hyrqb3DEwife5vs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691936847; x=1692541647; 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=/tLY5fod7u/sraNrH+yDtdULWLS6akwLh5xP2e7OG9E=; b=a62GVx7WCrzuKAL0LNqqTeSf/dulqUwIso312rx05WL+7+cY+vV1XRqA5fTIyFMva3 PGpsEXlty09erqGiSlQqlUZ2/p2JOtRJNh0YziQToV9prQGFvRSuR80mbW86Ul0Dlidi qZ8disAsqME4f45CGeTZXX8JeyX1irkGBHlxDRFRaTJ1d0vyZswrYSoKqA/qfcfVHYZ4 jowYM1FUG+ohLglgFz5tt0MI1CfCS94RvPMABknrgCECxuZqeYMGXrUCG6AN6b+fgJS+ 9/KcIwz5dmFPGyUogzDib4tsqAmYdsqLIRMNkRNyNyn7J3Hq47CeH8fUKv2rDneVAFgK h7AQ== X-Gm-Message-State: AOJu0YwYNOVOSsIIN81JMhquaqnf8fUUk0ULJMUmlyoUV2OqUCzWgvpO Irj0RyG3Gl6XyigtsLwv0erERyJe1FBNqZncd28= X-Google-Smtp-Source: AGHT+IER7t1D1aYcEC9TwNYtjru8UsnF9KRitdPLxsaCnNLzOj8he7epJtGOGHcvrTA2i0JAcdJhhw== X-Received: by 2002:a05:6602:389a:b0:785:cac9:2d49 with SMTP id br26-20020a056602389a00b00785cac92d49mr12961843iob.1.1691936847734; Sun, 13 Aug 2023 07:27:27 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id w7-20020a02cf87000000b00430cf006d9bsm2280952jar.30.2023.08.13.07.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 07:27:27 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass Subject: [PATCH 02/24] part: amiga: Use desc instead of dev_desc Date: Sun, 13 Aug 2023 08:26:30 -0600 Message-ID: <20230813142708.361456-3-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.640.ga95def55d0-goog In-Reply-To: <20230813142708.361456-1-sjg@chromium.org> References: <20230813142708.361456-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the amiga code to just use 'desc'. Signed-off-by: Simon Glass --- disk/part_amiga.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/disk/part_amiga.c b/disk/part_amiga.c index 45d3a7048669..65e30fea558d 100644 --- a/disk/part_amiga.c +++ b/disk/part_amiga.c @@ -125,7 +125,7 @@ static void print_part_info(struct partition_block *p) * the ID AMIGA_ID_RDISK ('RDSK') and needs to have a valid * sum-to-zero checksum */ -struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) +struct rigid_disk_block *get_rdisk(struct blk_desc *desc) { int i; int limit; @@ -139,7 +139,7 @@ struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) for (i=0; i