summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm95245.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-11-06 05:53:06 +0100
committerDavid S. Miller <davem@davemloft.net>2012-11-07 09:53:38 +0100
commit06a221be022c2cc98a48e0808a4ef0dc8f0b3a34 (patch)
tree935fe2fc77739a73ddc5d7c17480c55c628da98d /drivers/hwmon/lm95245.c
parentusbnet: smsc75xx: apply the introduced usbnet_{read|write}_cmd_nopm (diff)
downloadlinux-06a221be022c2cc98a48e0808a4ef0dc8f0b3a34.tar.xz
linux-06a221be022c2cc98a48e0808a4ef0dc8f0b3a34.zip
usbnet: smsc95xx: fix memory leak in smsc95xx_suspend
This patch fixes memory leak in smsc95xx_suspend. Also, it isn't necessary to bother mm to allocate 8bytes/16byte, and we can use stack variable safely. Acked-By: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/lm95245.c')
0 files changed, 0 insertions, 0 deletions