of: Move of_dma_set_restricted_buffer() into device.c
authorWill Deacon <will@kernel.org>
Mon, 16 Aug 2021 13:26:16 +0000 (14:26 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 23 Aug 2021 10:32:02 +0000 (06:32 -0400)
commitce5cb67c664fbc93d1af20b3fbd7a07eda9f6ee6
tree1b8b3b9795da7b98777b0c3db634a840bb7d5f53
parenta449ffaf9181b5a2dc705d8a06b13e0068207fd4
of: Move of_dma_set_restricted_buffer() into device.c

Rob observes that:

  | of_dma_set_restricted_buffer() [...] should also be moved to
  | of/device.c. There's no reason for it to be in of/address.c. It has
  | nothing to do with address parsing.

Move it to of/device.c, as he suggests.

Cc: Claire Chang <tientzu@chromium.org>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Robin Murphy <robin.murphy@arm.com>
Suggested-by: Rob Herring <robh+dt@kernel.org>
Link: https://lore.kernel.org/r/CAL_JsqJ7ROWWJX84x2kEex9NQ8G+2=ybRuNOobX+j8bjZzSemQ@mail.gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/of/address.c
drivers/of/device.c
drivers/of/of_private.h