freebsd-skq/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
fdt_clock_if.m
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
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
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
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