aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/m88ts2022.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-12-18 12:46:45 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-19 09:24:57 -0200
commitb03129ff7b8ed4abe0b80e092ad71a6203c2d367 (patch)
treee1efe028388c5c666e886c4ad5d9a34f1e63f0c0 /drivers/media/tuners/m88ts2022.c
parent[media] m88ds3103: fix some style issues reported by checkpatch.pl (diff)
downloadlinux-dev-b03129ff7b8ed4abe0b80e092ad71a6203c2d367.tar.xz
linux-dev-b03129ff7b8ed4abe0b80e092ad71a6203c2d367.zip
[media] m88ts2022: fix some style issues reported by checkpatch.pl
Latest checkpatch.pl has some new requirements for coding style. Fix some of those. * remove Free Software Foundation postal address * use sizeof(*foo), not sizeof(struct foo) Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/m88ts2022.c')
-rw-r--r--drivers/media/tuners/m88ts2022.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/media/tuners/m88ts2022.c b/drivers/media/tuners/m88ts2022.c
index 11556037cca0..40c42dec721b 100644
--- a/drivers/media/tuners/m88ts2022.c
+++ b/drivers/media/tuners/m88ts2022.c
@@ -13,10 +13,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
* Some calculations are taken from existing TS2020 driver.
*/
@@ -548,7 +544,7 @@ static int m88ts2022_probe(struct i2c_client *client,
int ret;
u8 chip_id, u8tmp;
- priv = kzalloc(sizeof(struct m88ts2022_priv), GFP_KERNEL);
+ priv = kzalloc(sizeof(*priv), GFP_KERNEL);
if (!priv) {
ret = -ENOMEM;
dev_err(&client->dev, "%s: kzalloc() failed\n", KBUILD_MODNAME);