All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH v2 05/21] test: Use a simple variable to record removed device
Date: Mon, 28 Dec 2020 08:25:44 -0800	[thread overview]
Message-ID: <CAPnjgZ1rvw4rGbmfGT9UR+MXrgASB3f=qUDeXXdOF-HnMD7n4A@mail.gmail.com> (raw)
In-Reply-To: <20201223081127.v2.5.Ie77678001e31237a1631268cf4af5f132d383e04@changeid>

At present the entire test state is effective passed into a test driver
just to record which device was removed. This is unnecessary and makes it
harder to track what is going on.

Use a simple boolean instead.

Also drop the unused 'removed' member while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 include/dm/test.h |  2 --
 test/dm/bus.c     | 14 ++++++--------
 2 files changed, 6 insertions(+), 10 deletions(-)

Applied to u-boot-dm/next, thanks!

  parent reply	other threads:[~2020-12-28 16:25 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-23 15:11 [PATCH v2 00/21] dm: Preparation for enhanced of-platdata (part B) Simon Glass
2020-12-23 15:11 ` [PATCH v2 01/21] pinctrl: Drop post_bind() method when not needed Simon Glass
2020-12-23 15:11 ` [PATCH v2 02/21] sysreset: Use a shorter error with SPL Simon Glass
2020-12-23 15:11 ` [PATCH v2 03/21] arc: m68k: nds32: nios2: sh: xtensa: Add empty spl.h header Simon Glass
2020-12-23 15:11 ` [PATCH v2 04/21] timer: Use a shorter error in TPL Simon Glass
2020-12-23 15:11 ` [PATCH v2 05/21] test: Use a simple variable to record removed device Simon Glass
2020-12-23 15:11 ` [PATCH v2 06/21] test: Move some test drivers into their own file Simon Glass
2020-12-23 15:11 ` [PATCH v2 07/21] dtoc: Fix a few pylint warnings in dtb_platdata Simon Glass
2020-12-23 15:11 ` [PATCH v2 08/21] dtoc: Make _output_list a top-level function Simon Glass
2020-12-23 15:11 ` [PATCH v2 09/21] dtoc: Output the device in a separate function Simon Glass
2020-12-23 15:11 ` [PATCH v2 10/21] dtoc: Output the struct values " Simon Glass
2020-12-23 15:11 ` [PATCH v2 11/21] dtoc: Convert _drivers to a dict Simon Glass
2020-12-23 15:11 ` [PATCH v2 12/21] dtoc: Scan drivers for available information Simon Glass
2020-12-23 15:11 ` [PATCH v2 13/21] dtoc: Allow use of the of_match_ptr() macro Simon Glass
2020-12-23 15:11 ` [PATCH v2 14/21] x86: apl: Use const for driver operations Simon Glass
2020-12-23 15:11 ` [PATCH v2 15/21] x86: Move call64 into its own section Simon Glass
2020-12-23 15:11 ` [PATCH v2 16/21] x86: coral: Move fsp-m settings to a subnode Simon Glass
2020-12-23 15:11 ` [PATCH v2 17/21] x86: apl: Update hostbridge to remove unwanted TPL code Simon Glass
2020-12-23 15:11 ` [PATCH v2 18/21] x86: apl: Reduce size for TPL Simon Glass
2020-12-23 15:11 ` [PATCH v2 19/21] x86: pinctrl: Drop unlikely error messages from TPL Simon Glass
2020-12-23 15:11 ` [PATCH v2 20/21] x86: tpl: Remove unwanted devicetree string Simon Glass
2020-12-23 15:11 ` [PATCH v2 21/21] x86: Fix header guard in asm/pmu.h Simon Glass
2020-12-28 16:25 ` Simon Glass
2020-12-28 16:25 ` [PATCH v2 20/21] x86: tpl: Remove unwanted devicetree string Simon Glass
2020-12-28 16:25 ` [PATCH v2 19/21] x86: pinctrl: Drop unlikely error messages from TPL Simon Glass
2020-12-28 16:25 ` [PATCH v2 18/21] x86: apl: Reduce size for TPL Simon Glass
2020-12-28 16:25 ` [PATCH v2 17/21] x86: apl: Update hostbridge to remove unwanted TPL code Simon Glass
2020-12-28 16:25 ` [PATCH v2 16/21] x86: coral: Move fsp-m settings to a subnode Simon Glass
2020-12-28 16:25 ` [PATCH v2 15/21] x86: Move call64 into its own section Simon Glass
2020-12-28 16:25 ` [PATCH v2 14/21] x86: apl: Use const for driver operations Simon Glass
2020-12-28 16:25 ` [PATCH v2 11/21] dtoc: Convert _drivers to a dict Simon Glass
2020-12-28 16:25 ` [PATCH v2 10/21] dtoc: Output the struct values in a separate function Simon Glass
2020-12-28 16:25 ` [PATCH v2 09/21] dtoc: Output the device " Simon Glass
2020-12-28 16:25 ` [PATCH v2 08/21] dtoc: Make _output_list a top-level function Simon Glass
2020-12-28 16:25 ` [PATCH v2 07/21] dtoc: Fix a few pylint warnings in dtb_platdata Simon Glass
2020-12-28 16:25 ` [PATCH v2 06/21] test: Move some test drivers into their own file Simon Glass
2020-12-28 16:25 ` Simon Glass [this message]
2020-12-28 16:25 ` [PATCH v2 04/21] timer: Use a shorter error in TPL Simon Glass
2020-12-28 16:25 ` [PATCH v2 02/21] sysreset: Use a shorter error with SPL Simon Glass
2020-12-28 16:25 ` [PATCH v2 01/21] pinctrl: Drop post_bind() method when not needed Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPnjgZ1rvw4rGbmfGT9UR+MXrgASB3f=qUDeXXdOF-HnMD7n4A@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.