summaryrefslogtreecommitdiff
BranchCommit messageAuthorAge
emaclite-cleanupnet: xilinx: emaclite: Remove net_device pointer from struct net_localTobias Klauser7 years
masterMerge tag 'docs-4.10' of git://git.lwn.net/linuxLinus Torvalds7 years
nds-private-removeusbnet: pegasus: Use net_device_stats from struct net_deviceTobias Klauser7 years
packet-loop-backnet: packet: Introduce PACKET_XMIT_RECEIVE socket optionTobias Klauser7 years
packet-rx-pump-backnet: packet: Introduce PACKET_RX_PUMP_BACK socket optionTobias Klauser7 years
 
href='/cgit.cgi/linux/net-next.git/tree/?h=packet-loop-back&id=42531686639d6a3fe49518f2baca3f7256708242'>345ba0762f7dc7c20f47adc7134341b2e2d0d5f5 parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
spi: st-ssc4: Fix misuse of devm_gpio_request/devm_gpio_free APIs
devm_* API is supposed to be used only in probe function call. The resource is allocated at 'probe' and free automatically at 'remove'. Usage of devm_* functions outside probe sometimes leads to resource leak. Thus avoid using devm_* APIs in .setup/.cleanup callbacks. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat