Shape-memory alloys are only a small part of smart materials. Once deformed, they will change back to their old shape when heated or subjected to strong magnetic fields. Of the many alloys with this characteristic, only a few like nickel-titanium would be suitable for primary structures. They are extremely expensive to make and to process, so they have never been an economical alternative.
Also, heating and cooling would be required to switch between shapes, which is very energy intensive when the outer structure of an aircraft is involved. Airflow will ensure intense convective heat transfer, and to maintain the needed temperature will be very uneconomical. Please consider that an aircraft with shape-memory alloys would need to carry extra fuel for heating or cooling over much of the flight time. Hinges and electric or hydraulic actuators will have a clear mass advantage when you consider the system mass, including energy sources.
I guess you agree that creating strong magentical fields in parts of an aircraft is an exceedingly bad idea, so I will rule out magnetic shape-memory alloys.
Shape-memory alloys will only switch between two shapes, and intermediate shapes are easier to realize with hinges and actuators. Sure, a smooth shape is aerodynamically better than one with a contour break at the hinge line, but the small aerodynamic advantage of shape-memory structures is quickly lost when you look at the whole picture.
Another disadvantage is the accumulation of small cracks with every shape change. The low number of cycles will either require frequent replacement of the shape-memory parts or a very limited structural life of the aircraft.
In the end, much of what can be said about other smart materials also applies to shape-memory alloys. Their main function is to justify research grants and to keep the press occupied.