1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/arm/ti
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
..
am335x
cpsw Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
omap4
twl
usb
aintc.c
files.ti
std.ti
ti_adc.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
ti_adcreg.h
ti_adcvar.h
ti_common.c
ti_cpuid.c
ti_cpuid.h
ti_edma3.c
ti_edma3.h
ti_gpio_if.m
ti_gpio.c INTRNG - update gpio pin capabilities according to r299166. 2016-05-08 08:57:50 +00:00
ti_gpio.h
ti_hwmods.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
ti_hwmods.h
ti_i2c.c
ti_i2c.h
ti_machdep.c
ti_mbox.c
ti_mbox.h
ti_pinmux.c Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
ti_pinmux.h
ti_prcm.c
ti_prcm.h
ti_pruss.c
ti_pruss.h
ti_scm.c
ti_scm.h
ti_sdhci.c
ti_sdma.c
ti_sdma.h
ti_sdmareg.h
ti_smc.h
ti_smc.S
ti_spi.c
ti_spireg.h
ti_spivar.h
ti_wdt.c
ti_wdt.h
tivar.h