frontends: Fix typo in tda1004x.c

Correct spelling "alocate" to "allocate" in
drivers/media/dvb/frontends/tda1004x.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Masanari Iida 2012-02-03 22:56:59 +09:00 committed by Jiri Kosina
parent 4aa6ded9fa
commit 3472a2caa4
1 changed files with 2 additions and 2 deletions

View File

@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
/* allocate memory for the internal state */
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
if (!state) {
printk(KERN_ERR "Can't alocate memory for tda10045 state\n");
printk(KERN_ERR "Can't allocate memory for tda10045 state\n");
return NULL;
}
@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,
/* allocate memory for the internal state */
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
if (!state) {
printk(KERN_ERR "Can't alocate memory for tda10046 state\n");
printk(KERN_ERR "Can't allocate memory for tda10046 state\n");
return NULL;
}