freebsd-dev/sys/dev/fdt
Oleksandr Tymoshenko bc90a48ccf Add OF_prop_free function as a counterpart for OF_*prop_alloc
- Introduce new OF API function OF_prop_free to free memory allocated by
  OF_getprop_alloc and OF_getencprop_alloc. Current code just calls free(9)
  with M_OFWPROP memory class which assumes knowledge about OF_*prop_alloc
  functions' internals and leads to unneccessary code coupling

- Convert some of the free(..., M_OFWPROP) instances to OF_prop_free

Files affected by this commit are the ones I was able to test on real
hardware. The rest of free(..., M_OFWPROP) instances will be handled with
idividual maintainers

Reviewed by:	andrew
Differential Revision:	https://reviews.freebsd.org/D6315
2016-05-11 18:20:02 +00:00
..
fdt_arm_platform.c Add the start of the ARM platform code. This is based on the PowerPC 2014-05-17 11:27:36 +00:00
fdt_clock_if.m Create an interface for drivers to enable or disable their clocks as listed 2014-09-02 03:23:05 +00:00
fdt_clock.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_clock.h Create an interface for drivers to enable or disable their clocks as listed 2014-09-02 03:23:05 +00:00
fdt_common.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_common.h Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine 2016-04-15 16:05:41 +00:00
fdt_pinctrl_if.m Create an interface and support routines for drivers that handle IO pin 2014-09-13 19:03:32 +00:00
fdt_pinctrl.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
fdt_pinctrl.h Create an interface and support routines for drivers that handle IO pin 2014-09-13 19:03:32 +00:00
fdt_powerpc.c Add fman and dpaa fixups for powerpc fdt 2016-04-15 01:45:05 +00:00
fdt_slicer.c Create a RouterBoard platform and use it to create a flash map 2015-08-22 05:50:18 +00:00
fdt_static_dtb.S sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
simplebus.c Use uintmax_t (typedef'd to rman_res_t type) for rman ranges. 2016-03-18 01:28:41 +00:00
simplebus.h Make simplebus a base class of ofwbus. This allows the elimination of 2015-03-27 23:10:15 +00:00