(Reuters) - Western Digital Corp reported better-than-expected profit and revenue on Thursday, as demand for its memory chips used in smartphones and personal computers rose coupled with higher prices for its hard disk drives.