commit | c2034821772898b54d745e79fc96586cebaae12c | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Nov 04 16:37:49 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 16 12:43:49 2023 -0500 |
tree | bcb42b5b9843a8ba00437d55d2c0e4836626cc26 | |
parent | b37a9208a2ed36b67303e8169539c1a0c42ea0e1 [diff] |
nand: Add function to unregister NAND devices This performs the opposite of nand_register, allowing drivers to unregister nand devices. This is probably unnecessary for most regular drivers, but we expect sandbox drivers to get repeatedly bound/unbound, so this will help avoid dangling pointers. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>