diff options
| author | Marek Behún <[email protected]> | 2021-09-25 02:49:18 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-09-27 07:41:45 +0200 |
| commit | 0ef476e68ef6391c2358894b5e6ba51083718883 (patch) | |
| tree | ac8dd42b914aa465a76727c35d4e8600d7eef2ab /scripts/objdiff | |
| parent | 8284d6f838684cfa6e3303a447deb38027c5d7f0 (diff) | |
arm: mvebu: turris_omnia: fix leaked mtd device
After getting MTD device via get_mtd_device_nm(), we need to put it with
put_mtd_device(), otherwise we get
Removing MTD device #0 (mx25l6405d) with use count 1
before booting kernel.
Signed-off-by: Marek Behún <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Tested-by: Pali Rohár <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
