staging/trivial: fix typos concerning "memory"
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
8c209fe9b0
commit
ecc73a99e4
@ -214,7 +214,7 @@ static int cyasdevice_initialize(void)
|
|||||||
cy_as_dev = cy_as_hal_alloc(sizeof(cyasdevice));
|
cy_as_dev = cy_as_hal_alloc(sizeof(cyasdevice));
|
||||||
if (cy_as_dev == NULL) {
|
if (cy_as_dev == NULL) {
|
||||||
cy_as_hal_print_message("<1>_cy_as_device: "
|
cy_as_hal_print_message("<1>_cy_as_device: "
|
||||||
"memmory allocation failed\n");
|
"memory allocation failed\n");
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
memset(cy_as_dev, 0, sizeof(cyasdevice));
|
memset(cy_as_dev, 0, sizeof(cyasdevice));
|
||||||
|
Loading…
Reference in New Issue
Block a user