Julia Lawall
9bda6da7ff
mmc: sdhci-s3c: use devm_ functions
...
The various devm_ functions allocate memory that is released when a driver
detaches. This patch uses these functions for data that is allocated in
the probe function of a platform device and is only freed in the remove
function.
By using devm_ioremap, it also removes a potential memory leak, because
there was no call to iounmap in the probe function.
The call to platform_get_resource was moved just to make it closer to the
place where its result it used.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr >
Signed-off-by: Chris Ball <cjb@laptop.org >
2012-04-05 20:32:16 -04:00
..
2012-03-30 16:45:39 -07:00
2012-03-22 20:22:30 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 15:02:41 -07:00
2012-03-28 17:19:28 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 18:12:23 -07:00
2012-03-29 16:53:48 -07:00
2012-03-28 15:58:21 -07:00
2012-03-30 16:45:39 -07:00
2012-03-22 18:15:32 -07:00
2012-03-27 16:03:32 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 14:24:40 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 16:53:48 -07:00
2012-03-29 07:44:27 +01:00
2012-03-23 14:39:09 -07:00
2012-03-28 13:56:35 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-03-21 17:54:54 -07:00
2012-03-28 18:30:03 +01:00
2012-03-29 23:17:44 -07:00
2012-03-23 14:15:07 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 13:56:35 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:43:38 +01:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 15:58:21 -07:00
2012-04-05 20:32:16 -04:00
2012-03-31 13:42:57 -07:00
2012-03-30 17:31:56 -07:00
2012-03-28 18:30:03 +01:00
2012-03-28 14:08:46 -07:00
2012-03-20 21:29:37 -04:00
2012-03-28 15:58:21 -07:00
2012-03-31 12:49:56 -07:00
2012-03-29 16:00:48 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:45:39 -07:00
2012-03-30 16:09:02 -07:00
2012-03-27 16:41:24 -07:00
2012-03-29 18:02:10 -07:00
2012-03-28 15:58:21 -07:00
2012-03-28 18:30:03 +01:00
2012-03-31 13:31:23 -07:00
2012-03-30 00:09:17 -07:00
2012-03-29 15:34:57 -07:00
2012-03-20 21:04:47 -07:00
2012-03-30 16:03:15 -07:00
2012-03-22 12:38:04 -07:00
2012-03-22 01:10:18 -04:00
2012-03-30 16:03:15 -07:00
2012-03-30 16:03:15 -07:00
2012-03-23 16:58:34 -07:00
2012-03-23 14:46:48 -04:00
2012-03-29 18:02:10 -07:00
2012-03-31 08:09:51 +05:30
2012-03-29 18:02:10 -07:00
2012-03-24 12:20:25 -07:00
2012-03-27 16:30:09 -07:00
2012-03-27 16:30:09 -07:00