commit | 96fc205c7c482267ec9349ac00bd6f84f59ec14d | [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 | 55d6f04ff75415b5a337e577df9725fbf5c71eed [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>