summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-23 09:33:59 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-08-23 10:01:16 +0200
commitee28b42006c37aaeb68c83300fe5608db662082f (patch)
tree49c4d2b61e35efb59e6e85a4b2431bfd4f511e4b /Documentation/devicetree/bindings/mtd
parent37b143d12b5f099bb4375162303ff1df1692cc5e (diff)
mtd_blkdevs: simplify the refcounting in blktrans_{open, release}
Always grab a reference to the mtd_blktrans_dev in ->open instead of just on the first open, and do away with the additional temporary references in ->open and ->release. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210823073359.705281-9-hch@lst.de
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
0 files changed, 0 insertions, 0 deletions