[ALSA] Remove snd_vx_delay() function
[deliverable/linux.git] / sound / i2c / tea6330t.c
index 2da8d7f157f4609eebc0b8b584af20bea91b1403..4fdd1fb57dfe1934f92eb2ac685aa7617dc246d9 100644 (file)
@@ -58,7 +58,7 @@ static void snd_tea6330t_set(tea6330t_t *tea,
                             unsigned char addr, unsigned char value)
 {
 #if 0
-       printk("set - 0x%x/0x%x\n", addr, value);
+       printk(KERN_DEBUG "set - 0x%x/0x%x\n", addr, value);
 #endif
        snd_i2c_write(tea->bus, TEA6330T_ADDR, addr, value, 1);
 }
@@ -281,7 +281,7 @@ int snd_tea6330t_update_mixer(snd_card_t * card,
        u8 default_treble, default_bass;
        unsigned char bytes[7];
 
-       tea = kcalloc(1, sizeof(*tea), GFP_KERNEL);
+       tea = kzalloc(sizeof(*tea), GFP_KERNEL);
        if (tea == NULL)
                return -ENOMEM;
        if ((err = snd_i2c_device_create(bus, "TEA6330T", TEA6330T_ADDR, &device)) < 0) {
This page took 0.023593 seconds and 5 git commands to generate.