DEVICE_ATTR does not printing dmesg
I am implementing DEVICE_ATTR for my driver. I have kept printk in show and store funtcion.In show and store function I am not able to see my printk in it using dmesg..but sysfs is working fine. I can able to change value in file using sysfs created via DEVICE_ATTR. Problem is my store and show function is not printing any messages in dmesg.
Can you please help me..I am stuck here from last 3 days...